plot_group_density: Plot density

Description Usage Arguments Value

Description

Plot the density of a some grouping

Usage

1
2
3
plot_group_density(obj, use_filtered = TRUE, units = "est_counts",
  trans = "log", grouping = setdiff(colnames(obj$sample_to_covariates),
  "sample"), offset = 1)

Arguments

obj

a sleuth object

use_filtered

if TRUE, use filtered data. otherwise use all data

units

either 'est_counts' or 'tpm'

trans

a string pointing to a function to use for the transformation.

grouping

a string from the columns of sample_to_covariates in the sleuth object for which to group and color by

offset

the offset so that transformations such as log don't compute -Inf. If NULL, then will not add an offset

Value

a ggplot2 object


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