plotDispEsts: Plot dispersion estimates

plotDispEstsR Documentation

Plot dispersion estimates

Description

Plot dispersion estimates

Usage

plotDispEsts(object, ...)

## S4 method for signature 'bcbioRNASeq'
plotDispEsts(object, ...)

Arguments

object

Object.

...

Passthrough to DESeqDataSet method defined in DESeq2. See DESeq2::plotDispEsts() for details.

Details

This plot shows the dispersion by mean of normalized counts. We expect the dispersion to decrease as the mean of normalized counts increases.

Here we're generating a DESeqDataSet object on the fly, which already has method support for plotting dispersion, provided by the DESeq2 package.

Value

ggplot.

Note

Updated 2022-03-07.

Author(s)

Michael Steinbaugh

See Also

  • DESeq2::plotDispEsts().

Examples

data(bcb)

## bcbioRNASeq ====
plotDispEsts(bcb)

## Custom colors, using DESeq2 parameters.
plotDispEsts(
    object = bcb,
    genecol = "gray",
    fitcol = "purple",
    finalcol = "orange"
)

hbc/bcbioRNASeq documentation built on March 28, 2024, 3:01 p.m.