estMeanVarTrend {combi} | R Documentation

## Estimate a column-wise mean-variance trend

### Description

Estimate a column-wise mean-variance trend

### Usage

    estMeanVarTrend(data, meanMat, baseAbundances, libSizes, plot = FALSE,
      meanVarFit, degree = 2L, constraint = "none", ...)

### Arguments

`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

### Value

A list with components

`meanVarTrend` | An smoothed trend function, that can map a mean on a variance
`meanVarTrendDeriv` | A derivative function of this

[Package combi version 1.0.0 Index]