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
ElbowPlot(object, ndims = 20, reduction = "pca")
Seurat object
Number of dimensions to plot standard deviation for
Reduction technique to plot standard deviation for
A ggplot object
data("pbmc_small")
ElbowPlot(object = pbmc_small)
#> Warning: The object only has information for 19 reductions