Learn R Programming

sleuth (version 0.29.0)

plot_transcript_heatmap: Plot clustered heatmap

Description

Plot a clustered heatmap. The clustering is done by the hclust function.

Usage

plot_transcript_heatmap(obj, transcripts, units = "tpm", trans = "log",
  offset = 1)

Arguments

obj

a sleuth object

transcripts

a vector of strings containing a list of transcripts to be plotted in a heatmap

units

a string specifying which units to use, either tpm or est_counts (scaled_reads_per_base for gene_mode)

trans

a string specifying a function to transform the data by

Value

a ggplot object