A simple helper function that plots the per-gene dispersion estimates together with the fitted mean-dispersion relationship.
plotDispEsts(object, ...) # S4 method for bcbioRNASeq plotDispEsts(object, ...)
| object | Object. |
|---|---|
| ... | Passthrough to |
ggplot.
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.
Updated 2019-09-15.
#>#>#>#>#>#>#>## Custom colors, using DESeq2 parameters. plotDispEsts( object = bcb, genecol = "gray", fitcol = "purple", finalcol = "orange" )#>#>#>#>#>#>#>