Seurat (version 2.3.4)

ICTopCells: Find cells with highest ICA scores

Description

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

Usage

ICTopCells(object, ic.use = 1, num.cells = NULL, do.balanced = FALSE)

Arguments

object

Seurat object

ic.use

Independent 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
pbmc_small <- RunICA(object = pbmc_small, ics.compute = 10, ics.print = 0)
pbmc_small <- ProjectDim(object = pbmc_small, reduction.type = "ica", do.print = FALSE)
ICTopCells(object = pbmc_small)
# Can specify which dimension and how many cells to return
ICTopCells(object = pbmc_small, ic.use = 2, num.cells = 5)

# }

Run the code above in your browser using DataLab