Seurat (version 2.3.4)

PCAEmbed: PCA Cell Embeddings Accessor Function

Description

Pull PCA cell embedding matrix

Usage

PCAEmbed(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

PCA cell embedding matrix for given cells and PCs

Examples

Run this code
# NOT RUN {
pbmc_small
head(PCAEmbed(pbmc_small))
# Optionally, you can specify subsets of dims or cells to use
PCAEmbed(pbmc_small, dims.use = 1:5, cells.use = pbmc_small@cell.names[1:5])

# }

Run the code above in your browser using DataLab