Seurat (version 2.3.4)

DimElbowPlot: Quickly Pick Relevant Dimensions

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 dims and is much faster to run than Jackstraw

Usage

DimElbowPlot(object, reduction.type = "pca", dims.plot = 20, xlab = "",
  ylab = "", title = "")

Arguments

object

Seurat object

reduction.type

Type of dimensional reduction to plot data for

dims.plot

Number of dimensions to plot sd for

xlab

X axis label

ylab

Y axis label

title

Plot title

Value

Returns ggplot object

Examples

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

# }

Run the code above in your browser using DataLab