Learn R Programming

Seurat (version 2.3.4)

VizPCA: Visualize PCA genes

Description

Visualize top genes associated with principal components

Usage

VizPCA(object, pcs.use = 1:5, num.genes = 30, use.full = FALSE,
  font.size = 0.5, nCol = NULL, do.balanced = FALSE)

Arguments

object

Seurat object

pcs.use

Number of PCs to display

num.genes

Number of genes to display

use.full

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

font.size

Font size

nCol

Number of columns to display

do.balanced

Return an equal number of genes with both + and - PC scores. If FALSE (by default), returns the top genes ranked by the score's absolute values

Value

Graphical, no return value

Examples

Run this code
# NOT RUN {
VizPCA(object = pbmc_small)

# }

Run the code above in your browser using DataLab