calcZeroAdjustment: 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