estMeanVarTrend: Estimate a column-wise mean-variance trend

Description Usage Arguments Value

View source: R/estMeanVarTrend.R

Description

Estimate a column-wise mean-variance trend

Usage

1
2
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


combi documentation built on Nov. 8, 2020, 5:34 p.m.

Related to estMeanVarTrend in combi...