Dimensions in ExpressionMix Objects

Description

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.

Usage

S4 (ExpressionMix)
`dim`(x)

S4 (ExpressionMix)
`dimnames`(x)

S4 (ExpressionMix)
`dimnames`(x) <- value

S4 (ExpressionMix)
`featureNames`(object) <- value

S4 (ExpressionMix)
`sampleNames`(object) <- value

Arguments

x
an ExpressionMix object
value
replacement value
object
Object, possibly derived from class eSet.

Methods

  1. dimnamessignature(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).

  2. dimnames<-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).

  3. featureNames<-signature(object = "ExpressionMix"): Sets the feature names on both the ExpressionSet and NMF objects.

  4. sampleNames<-signature(object = "ExpressionMix"): Sets the sample names on both the ExpressionSet and NMF objects.