Seurat (version 2.3.4)

PCElbowPlot: Quickly Pick Relevant PCs

Description

Plots the standard deviations (or approximate singular values if running PCAFast) of the principle components for easy identification of an elbow in the graph. This elbow often corresponds well with the significant PCs and is much faster to run.

Usage

PCElbowPlot(object, num.pc = 20)

Arguments

object

Seurat object

num.pc

Number of PCs to plot

Value

Returns ggplot object

Examples

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

# }

Run the code above in your browser using DataLab