Learn R Programming

sleuth (version 0.30.0)

plot_bootstrap: Plot bootstrap summary

Description

Plot the normalized bootstraps across all samples.

Usage

plot_bootstrap(obj, target_id, units = "est_counts",
  color_by = setdiff(colnames(obj$sample_to_covariates), "sample"),
  x_axis_angle = 50, divide_groups = TRUE)

Arguments

obj

a sleuth object that contains a bootstrap summary (see get_bootstrap_summary)

target_id

a character vector of length 1 indicating the target_id (transcript or gene name depending on aggregation mode)

units

a character vector of either 'est_counts' ('scaled_reads_per_base' for gene_mode) or 'tpm'

color_by

a column in the sample to covariates to color by

x_axis_angle

the angle of the x-axis labels

Value

a ggplot2 object