This function calculates the immunoglobulin A (IgA) Index as defined in Palm et al. (2014, 10.1016/j.cell.2014.08.006) for a single taxon in a single sample.
Abundance of the bacteria in the IgA positive/high fraction.
negabund
Abundance of the bacteria in the IgA negative/low fraction.
pseudo
Pseudo count added to the abundance of the IgA negative fraction if the bacteria is not in that fraction. Defaults to 1e-5. Recommend setting to minimum observed abundance in whole dataset.
nazeros
Return NA if the pos and neg abundances are both zero. Default is TRUE.
Value
A numeric value for the Palm index as defined in Palm et al. (2014, 10.1016/j.cell.2014.08.006).