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
a character string representing the sample to find the loadings of. If NULL, then loadings will be computed across all samples (and `pc_input` must be specified).
the principal components to compute loadings for.
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)
a ggplot object