estMeanVarTrend {combi} | R Documentation |
Estimate a column-wise mean-variance trend
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 |