powered by
Plot the distribution of the total number of counts per sample as histogram.
plot_total_counts(dds, n_bins = 50)
A ggplot object of the ggplot2 package that contains the histogram of total counts per sample.
A DESeqDataSet
Number of histogram bins
library("DESeq2") set.seed(1) dds <- makeExampleDESeqDataSet(m=30) plot_total_counts(dds)
Run the code above in your browser using DataLab