mirix | R Documentation |
Calculate Microbiome Response Index (MiRIx) values
mirix(abundance, susceptibility, replace_zero = 1e-04)
abundance |
A vector of taxon abundances in a sample |
susceptibility |
A character vector of taxon susceptibility, with
values that are "susceptible", "resistant", or |
replace_zero |
Zero-replacement value. If the numerator or denominator is smaller than this value, they will be replaced with the number here. This number should generally be slightly less than the minimum measurement that could be acquired with the method used. For count data, a value of 0.5 is typical. For relative abundances, a number that is slightly lower than the lowest relative abundance will work. |
The MiRIx value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.