latentSpace {CellTrails} | R Documentation

## GET CellTrails' latent space

### Description

Retrieve computed latent space from a `SingleCellExperiment` object.

### Usage

    latentSpace(object)

### Arguments

`object` | A `SingleCellExperiment` object

### Details

Returns the latent space set for a CellTrails analysis. The resulting matrix is numeric. Rows are samples and columns are d components. It is a wrapper for `reducedDim` to ensure that the proper matrix is received from a `SingleCellExperiment` object.

### Value

An object of class `matrix`

### Author(s)

Daniel C. Ellwanger

### See Also

`SingleCellExperiment` `reducedDim`

### Examples

    # Example data
    data(exSCE)

    # Get latent space
    latentSpace(exSCE)[seq_len(5), ]

[Package CellTrails version 1.5.0 Index]