ElbowPlot: Quickly Pick Relevant Dimensions

Description Usage Arguments Value Examples

View source: R/visualization.R

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

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

Arguments

object

Seurat object

ndims

Number of dimensions to plot standard deviation for

reduction

Reduction technique to plot standard deviation for

Value

A ggplot object

Examples

1
2
data("pbmc_small")
ElbowPlot(object = pbmc_small)

ibseq/scs-analysis documentation built on Feb. 27, 2021, 12:35 a.m.