Learn R Programming

RNAseqQC (version 0.2.1)

plot_total_counts: 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)

Value

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

Arguments

dds

A DESeqDataSet

n_bins

Number of histogram bins

Examples

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

Run the code above in your browser using DataLab