Description Usage Arguments Value Examples
View source: R/plot_sparse_pca_var.R
plot_sparse_pca_var() plots the variance explained by sparse PCA (implemented by cellrangerRkit) as a line graph.
1 | plot_sparse_pca_var(sparse_pca_obj, n_pcs = NULL)
|
sparse_pca_obj |
a sparse pca object created by the cellRangerRkit sparse_pca() function |
n_pcs |
number of PCs to plot; defaults to NULL; if null, all the PCs will be plotted |
A ggplot object
1 | plot_sparse_pca_var(sparse_pca_obj, n_pcs = 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.