Learn R Programming

Seurat (version 2.1.0)

PrintICA: Print the results of a ICA analysis

Description

Prints a set of genes that most strongly define a set of independent components

Usage

PrintICA(object, ics.print = 1:5, genes.print = 30, use.full = FALSE)

Arguments

object

Seurat object

ics.print

Set of ICs to print genes for

genes.print

Number of genes to print for each PC

use.full

Use full PCA (i.e. the projected PCA, by default FALSE)

Value

Only text output

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)
PrintICA(object = pbmc_small)
# Options for how many dimensions and how many genes to print
PrintICA(object = pbmc_small, ics.print = 1:2, genes.print = 5)
# Can also print for the projected PCA
PrintICA(object = pbmc_small, use.full = TRUE)

# }

Run the code above in your browser using DataLab