Learn R Programming

RNAseqQC (version 0.2.1)

plot_library_complexity: Plot the library complexity

Description

Plot per sample the fraction of genes, versus the fraction of total counts.

Usage

plot_library_complexity(dds, show_progress = TRUE)

Value

A ggplot object of the ggplot2 package that contains the library complexity plot.

Arguments

dds

A DESeqDataSet

show_progress

Whether to show a progress bar of the computation.

Examples

Run this code
library("DESeq2")
set.seed(1)
dds <- makeExampleDESeqDataSet()
plot_library_complexity(dds)

Run the code above in your browser using DataLab