Learn R Programming

Seurat (version 2.0.0)

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