plot_total_counts: Plot total counts per sample

View source: R/counts_statistics.R

plot_total_countsR Documentation

Plot total counts per sample

Description

Plot the distribution of the total number of counts per sample as histogram.

Usage

plot_total_counts(dds, n_bins = 50)

Arguments

dds

A DESeqDataSet

n_bins

Number of histogram bins

Value

A ggplot object of the ggplot2 package that contains the histogram of total counts per sample.

Examples

library("DESeq2")
set.seed(1)
dds <- makeExampleDESeqDataSet(m=30)
plot_total_counts(dds)


RNAseqQC documentation built on July 1, 2024, 9:07 a.m.