Learn R Programming

Seurat (version 2.1.0)

PCTopGenes: Find genes with highest PCA scores

Description

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

Usage

PCTopGenes(object, pc.use = 1, num.genes = 30, use.full = FALSE,
  do.balanced = FALSE)

Arguments

object

Seurat object

pc.use

Principal components to use

num.genes

Number of genes to return

use.full

Use the full PCA (projected PCA). Default is FALSE

do.balanced

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

Value

Returns a vector of genes

Examples

Run this code
# NOT RUN {
pbmc_small
PCTopGenes(object = pbmc_small, pc.use = 1)
# After projection:
PCTopGenes(object = pbmc_small, pc.use = 1, use.full = TRUE)

# }

Run the code above in your browser using DataLab