plot_pc_variance | R Documentation |
Plot PC variances retained by percentage with option to compare specified PC
plot_pc_variance(obj, use_filtered = TRUE, units = "est_counts", pca_number = NULL, scale = FALSE, PC_relative = NULL, ...)
obj |
a |
use_filtered |
if TRUE, use filtered data. otherwise, use all data |
units |
either 'est_counts' ('scaled_reads_per_base' for gene_mode) or 'tpm' |
pca_number |
user input on how many PC to display, otherwise default is 5 |
scale |
determines scaling |
PC_relative |
gives the option to compare subsequent principal components and their contributions |
a ggplot object