Learn R Programming

Seurat (version 2.1.0)

ICAEmbed: ICA Cell Embeddings Accessor Function

Description

Pull ICA cell embeddings matrix

Usage

ICAEmbed(object, dims.use = NULL, cells.use = NULL)

Arguments

object

Seurat object

dims.use

Dimensions to include (default is all stored dims)

cells.use

Cells to include (default is all cells)

Value

ICA cell embeddings matrix for given cells and ICs

Examples

Run this code
# NOT RUN {
pbmc_small
pbmc_small <- RunICA(pbmc_small, ics.compute = 10, ics.print = 0)
head(ICAEmbed(pbmc_small))
# Optionally, you can specify subsets of dims or cells to use
ICAEmbed(pbmc_small, dims.use = 1:5, cells.use = pbmc_small@cell.names[1:5])

# }

Run the code above in your browser using DataLab