plot_pca_variance: Plot Explained Variance of Principal Components

View source: R/Visualizations_Seurat_based.R

plot_pca_varianceR Documentation

Plot Explained Variance of Principal Components

Description

This function generates a bar plot illustrating the explained variance of principal components (PCs) in a Seurat object.

Usage

plot_pca_variance(SerObj, pcs = 1:10)

Arguments

SerObj

A Seurat object.

pcs

Numeric vector specifying which PCs to plot. Default is 1:10.

Value

A ggplot object representing the explained variance of the specified principal components.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.