plotVarianceExplained: Plot the variance explained

View source: R/seurat_plot.R

plotVarianceExplainedR Documentation

Plot the variance explained

Description

This function first verify that the variance explained has been computed, and if not computes it. It then creates a plot of the variance explained for each PC.

Usage

plotVarianceExplained(seur, npcs = 50)

Arguments

seur

The Seurat object from which the PCA data will be taken

npcs

The number of PCs to plot

Value

A ggplot object


LabexCortexBioinformatics/LxCxUtils documentation built on Aug. 2, 2022, 6:23 a.m.