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)]

CellTrails documentation built on Nov. 8, 2020, 5:53 p.m.