Description Usage Arguments Value
View source: R/estMeanVarTrend.R
Estimate a column-wise mean-variance trend
1 2 | estMeanVarTrend(data, meanMat, baseAbundances, libSizes, plot = FALSE,
meanVarFit, degree = 2L, constraint = "none", ...)
|
data |
the data matrix with n rows |
meanMat |
the estimated mean matrix |
baseAbundances |
The baseline abundances |
libSizes |
Library sizes |
plot |
A boolean, should the trend be plotted? |
meanVarFit |
A character string describing the type of trend to be fitted: either "spline" or "cubic" |
degree |
The degree of the spline |
constraint |
Constraint to the spline |
... |
additional arguments passed on to the plot() function |
A list with components
meanVarTrend |
An smoothed trend function, that can map a mean on a variance |
meanVarTrendDeriv |
A derivative function of this |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.