This function generates various alpha diversity measures include Shannon, Fisher, Coverage, GiniSimpson, and InverseSimpson.
alpha_diversity_measures(obj, group = "TreatmentGroup")
obj | An object to be converted to a Taxmap object with |
---|---|
group | The "TreatmentGroup" or similar grouping from your metadata to denote sample groups, Default: 'TreatmentGroup' |
Returns a list of alpha diversity measures with metadata.
# NOT RUN { if (interactive()) { library(MicrobiomeR) data <- analyzed_silva measures <- alpha_diversity_measures(data) measures$Shannon } # }