Learn R Programming

Seurat (version 4.3.0.1)

ElbowPlot: 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

ElbowPlot(object, ndims = 20, reduction = "pca")

Value

A ggplot object

Arguments

object

Seurat object

ndims

Number of dimensions to plot standard deviation for

reduction

Reduction technique to plot standard deviation for

Examples

Run this code
data("pbmc_small")
ElbowPlot(object = pbmc_small)

Run the code above in your browser using DataLab