calcZeroAdjustment {metagenomeSeq} | R Documentation |
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.
calcZeroAdjustment(fitln, fitzero, mod, coef, exclude = NULL)
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 |
fitZeroLogNormal
fitFeatureModel