plotDispEsts | R Documentation |
A simple helper function that plots the per-gene dispersion estimates together with the fitted mean-dispersion relationship.
## S4 method for signature 'DESeqDataSet'
plotDispEsts(
object,
ymin,
CV = FALSE,
genecol = "black",
fitcol = "red",
finalcol = "dodgerblue",
legend = TRUE,
xlab,
ylab,
log = "xy",
cex = 0.45,
...
)
object |
a DESeqDataSet, with dispersions estimated |
ymin |
the lower bound for points on the plot, points beyond this are drawn as triangles at ymin |
CV |
logical, whether to plot the asymptotic or biological
coefficient of variation (the square root of dispersion) on the y-axis.
As the mean grows to infinity, the square root of dispersion gives
the coefficient of variation for the counts. Default is |
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 |
Simon Anders
dds <- makeExampleDESeqDataSet()
dds <- estimateSizeFactors(dds)
dds <- estimateDispersions(dds)
plotDispEsts(dds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.