Learn R Programming

Seurat (version 2.1.0)

PCTopCells: Find cells with highest PCA scores

Description

Return a list of genes with the strongest contribution to a set of principal components

Usage

PCTopCells(object, pc.use = 1, num.cells = NULL, do.balanced = FALSE)

Arguments

object

Seurat object

pc.use

Principal component to use

num.cells

Number of cells to return

do.balanced

Return an equal number of cells with both + and - PC scores.

Value

Returns a vector of cells

Examples

Run this code
# NOT RUN {
pbmc_small
head(PCTopCells(object = pbmc_small))
# Can specify which dimension and how many cells to return
DimTopCells(object = pbmc_small, dim.use = 2, num.cells = 5)

# }

Run the code above in your browser using DataLab