View source: R/counts_statistics.R
plot_total_counts | R Documentation |
Plot the distribution of the total number of counts per sample as histogram.
plot_total_counts(dds, n_bins = 50)
dds |
A DESeqDataSet |
n_bins |
Number of histogram bins |
A ggplot object of the ggplot2 package that contains the histogram of total counts per sample.
library("DESeq2")
set.seed(1)
dds <- makeExampleDESeqDataSet(m=30)
plot_total_counts(dds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.