Learn R Programming

Seurat (version 2.1.0)

ICTopGenes: Find genes with highest ICA scores

Description

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

Usage

ICTopGenes(object, ic.use = 1, num.genes = 30, use.full = FALSE,
  do.balanced = FALSE)

Arguments

object

Seurat object

ic.use

Independent components to use

num.genes

Number of genes to return

use.full

Use the full ICA (projected ICA), default is FALSE

do.balanced

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

Value

Returns a vector of genes

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)
ICTopGenes(object = pbmc_small, ic.use = 1)
# After projection:
ICTopGenes(object = pbmc_small, ic.use = 1, use.full = TRUE)

# }

Run the code above in your browser using DataLab