plot_gene_detection: Plot number of detected genes for each sample
Description
For specified thresholds, the number of detected genes is shown for each sample.
Usage
plot_gene_detection(dds, thresholds = c(3, 10, 20, 50))
Value
A ggplot object of the ggplot2 package that contains the gene detection plot.
Arguments
- dds
A DESeqDataSet
- thresholds
Vector of thresholds for which the number of genes with
counts greater or equal than the thresholds is plotted
Examples
Run this codelibrary("DESeq2")
set.seed(1)
dds <- makeExampleDESeqDataSet()
plot_gene_detection(dds)
Run the code above in your browser using DataLab