give a principal component, tells you which contribute the most or give a sample, tells you which PC's it contributes to the most
plot_loadings(obj, use_filtered = TRUE, sample = NULL, pc_input = NULL,
units = "est_counts", pc_count = NULL, scale = FALSE,
pca_loading_abs = TRUE, ...)
a sleuth
object
if TRUE, use filtered data. otherwise, use all data
user input on which sample and which PC's contribute the most
either 'est_counts' ('scaled_reads_per_base' for gene_mode) or 'tpm'
# of PC's
scale or not
default true, to see all PC's magnitude (recommended)
principal component to view sample's contribution to that PC
a ggplot object