Learn R Programming

Seurat (version 2.1.0)

DimTopGenes: Find genes 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

DimTopGenes(object, dim.use = 1, reduction.type = "pca", num.genes = 30,
  use.full = FALSE, do.balanced = FALSE)

Arguments

object

Seurat object

dim.use

Dimension to use

reduction.type

Dimensional reduction to find the highest score for

num.genes

Number of genes to return

use.full

Use the full PCA (projected PCA). Default i s FALSE

do.balanced

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

Value

Returns a vector of genes

Examples

Run this code
# NOT RUN {
pbmc_small
DimTopGenes(object = pbmc_small, dim.use = 1, reduction.type = "pca")
# After projection:
DimTopGenes(object = pbmc_small, dim.use = 1, reduction.type = "pca", use.full = TRUE)

# }

Run the code above in your browser using DataLab