View source: R/Visualizations_Seurat_based.R
plot_pca_variance | R Documentation |
This function generates a bar plot illustrating the explained variance of principal components (PCs) in a Seurat object.
plot_pca_variance(SerObj, pcs = 1:10)
SerObj |
A Seurat object. |
pcs |
Numeric vector specifying which PCs to plot. Default is 1:10. |
A ggplot object representing the explained variance of the specified principal components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.