Learn R Programming

DESeq2 (version 1.12.3)

plotDispEsts: Plot dispersion estimates

Description

A simple helper function that plots the per-gene dispersion estimates together with the fitted mean-dispersion relationship.

Usage

"plotDispEsts"(object, ymin, genecol = "black", fitcol = "red", finalcol = "dodgerblue", legend = TRUE, xlab, ylab, log = "xy", cex = 0.45, ...)

Arguments

object
a DESeqDataSet, with dispersions estimated
ymin
the lower bound for points on the plot, points beyond this are drawn as triangles at ymin
genecol
the color for gene-wise dispersion estimates
fitcol
the color of the fitted estimates
finalcol
the color of the final estimates used for testing
legend
logical, whether to draw a legend
xlab
xlab
ylab
ylab
log
log
cex
cex
...
further arguments to plot

Examples

Run this code

dds <- makeExampleDESeqDataSet()
dds <- estimateSizeFactors(dds)
dds <- estimateDispersions(dds)
plotDispEsts(dds)

Run the code above in your browser using DataLab