plot_pc_variance: Plot PC Variance

Description Usage Arguments Value

Description

Plot PC variances retained by percentage with option to compare specified PC

Usage

1
2
plot_pc_variance(obj, use_filtered = TRUE, units = "est_counts",
  pca_number = NULL, scale = FALSE, PC_relative = NULL, ...)

Arguments

obj

a sleuth object

use_filtered

if TRUE, use filtered data. otherwise, use all data

units

either 'est_counts' 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

Value

a ggplot object


pachterlab/zika documentation built on May 24, 2019, 5:58 p.m.