dimensionReduction: Dimension reduction results

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
3
4
dimensionReduction(object, ...)

## S4 method for signature 'TimeSeriesExperiment'
dimensionReduction(object, name = NULL)

Arguments

object

a TimeSeriesExperiment object.

...

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.

Value

a data.frame or a list of data.frames

Examples

1
2
3
data("endoderm_small")
endoderm_small <- runPCA(endoderm_small)
head(dimensionReduction(endoderm_small, "pca_sample")[, 1:3])

nlhuong/vistimeseq documentation built on Sept. 4, 2021, 2:41 a.m.