Learn R Programming

Seurat (version 2.1.0)

DimTopCells: Find cells with highest scores for a given dimensional reduction technique

Description

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

Usage

DimTopCells(object, dim.use = 1, reduction.type = "pca", num.cells = NULL,
  do.balanced = FALSE)

Arguments

object

Seurat object

dim.use

Components to use

reduction.type

Dimensional reduction to find the highest score for

num.cells

Number of cells to return

do.balanced

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

Value

Returns a vector of cells

Examples

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

# }

Run the code above in your browser using DataLab