latentSpace-set: SET latent space

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Set CellTrails' latent space to a SingleCellExperiment object.

Usage

1
latentSpace(object) <- value

Arguments

object

A SingleCellExperiment object

value

A numeric matrix with rows are samples and columns are components

Details

Rows need to be samples and columns to be d components (spanning the lower-dimensional latent space).

Value

An updated object of class SingleCellExperiment

Author(s)

Daniel C. Ellwanger

See Also

SingleCellExperiment reducedDim

Examples

1
2
3
4
5
# Example data
data(exSCE)

# Set latent space
latentSpace(exSCE) <- pca(exSCE)$components[, seq_len(10)]

dcellwanger/CellTrails documentation built on May 12, 2020, 2:01 a.m.