Similarly to NMF-class
objects,
ExpressionMix
objects have a "third" dimension,
the number of underlying cell types, inherited from the
embedded NMF
model.
dim
returns the dimensions of an ExpressionMix
object. It returns a 3-length integer vector, containing
the number of features, samples and components
respectively.
S4 (ExpressionMix) `dim`(x) S4 (ExpressionMix) `dimnames`(x) S4 (ExpressionMix) `dimnames`(x) <- value S4 (ExpressionMix) `featureNames`(object) <- value S4 (ExpressionMix) `sampleNames`(object) <- value
ExpressionMix
objecteSet
.signature(x = "ExpressionMix")
:
dimnames
returns the dimension names of an
ExpressionMix object. It returns a list with 3 elements:
the feature names, sample names and the constituent
cell/tissue names (i.e. the basis names of the underlying
NMF model).
signature(x = "ExpressionMix")
:
dimnames<-
Sets the dimension names of an
ExpressionMix object. The replacement value must be a
list containing the feature names, the samples names
(optional), and the constituent cell/tissue names
(optional), all as character vectors of correct
dimensions (i.e. compatible with the number of features,
samples and constituents).
signature(object =
"ExpressionMix")
: Sets the feature names on both the
ExpressionSet
and NMF
objects.
signature(object =
"ExpressionMix")
: Sets the sample names on both the
ExpressionSet
and NMF
objects.