Plot the density of one particular sample
plot_sample_density(obj, which_sample = obj$sample_to_covariates$sample[1],
use_filtered = TRUE, units = "est_counts", trans = "log", offset = 1)
a sleuth
object
a character string matching a sample in
obj$sample_to_covariates
if TRUE, use filtered data. Otherwise use all data
either 'est_counts'
('scaled_reads_per_base'
for gene_mode) or 'tpm'
a string pointing to a function to use for the transformation.
the offset so that transformations such as log don't compute -Inf. If NULL, then will not add an offset
a ggplot2
object