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

View source: R/fitZeroLogNormal.R

calcZeroAdjustmentR Documentation

Calculate the zero-inflated component's adjustment factor

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

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


HCBravoLab/metagenomeSeq documentation built on Dec. 20, 2024, 4:06 p.m.