calcZeroAdjustment: Calculate the zero-inflated component's adjustment factor

Description Usage Arguments See Also

View source: R/fitZeroLogNormal.R

Description

Calculate the log ratio of average marginal probabilities for each sample having a positive count. This becomes the adjustment factor for the log fold change.

Usage

1
calcZeroAdjustment(fitln, fitzero, mod, coef, exclude = NULL)

Arguments

fitln

A matrix with parameters from the log-normal fit

fitzero

A matrix with parameters from the logistic fit

mod

The zero component model matrix

coef

Coefficient of interest

exclude

List of features to exclude

See Also

fitZeroLogNormal fitFeatureModel


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