View source: R/VarID_functions.R
plotMV | R Documentation |
This functions plots the dependence of the transcript count variance or, alternatively, the coefficient of variation (CV) on the mean in log2 space. The mean-variance dependence is plotted along with a loess-regression, a second order polynomial fit, and the background model of the local variability. The CV plot also highlights the local variability associated with cell-to-cell variability of total transcript counts, as calculated directly from the mean and variance of total transcript counts (turquoise) or from a local fit of a gamma distribution (orange).
plotMV(x, cv = FALSE, ret = FALSE, span = 0.75, degree = 2, ...)
x |
Transcript count matrix. |
cv |
Logical. If |
ret |
Logical. If |
span |
Parameter for the local regression. See help(loess). Default value is 0.75. |
degree |
Parameter for the local regression. See help(loess). Default value is 2. |
... |
Additional arguments for |
If ret=FALSE
second order polynomial fit as returned by lm
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.