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, ...)
a sleuth
object
if TRUE, use filtered data. otherwise, use all data
either 'est_counts' ('scaled_reads_per_base' for gene_mode) or 'tpm'
user input on how many PC to display, otherwise default is 5
determines scaling
gives the option to compare subsequent principal components and their contributions
a ggplot object