Learn R Programming

metagenomeSeq (version 1.14.0)

calcShrinkParameters: Calculate shrinkage parameters

Description

Calculate the shrunken variances and variance of parameters of interest across features.

Usage

calcShrinkParameters(fit, coef, mins2, exclude = NULL)

Arguments

fit
A matrix of fits as outputted by calcZeroComponent or calcPosComponent
coef
Coefficient of interest
mins2
minimum variance estimate
exclude
Vector of features to exclude when shrinking

See Also

fitZeroLogNormal fitFeatureModel