dimensionReduction {TimeSeriesExperiment} | R Documentation |
Getter methods for dimensionReduction
slot
of a TimeSeriesExperiment
object. The slot is a list of
data.frames
: 'pca_sample', 'pca_feature' and 'pca_eigs' storing
results from a PCA projection.
dimensionReduction(object, ...) ## S4 method for signature 'TimeSeriesExperiment' dimensionReduction(object, name = NULL)
object |
a |
... |
argiments to other functions. |
name |
one of elements of 'dimensionReduction' slot: 'pca_sample', 'pca_feature' and 'pca_eigs' for returning the entire list. If NULL, all elements are returned. |
a data.frame
or a list of data.frame
s
data("endoderm_small") endoderm_small <- runPCA(endoderm_small) head(dimensionReduction(endoderm_small, "pca_sample")[, 1:3])