This function generates various alpha diversity measures include Shannon, Fisher, Coverage, GiniSimpson, and InverseSimpson.

alpha_diversity_measures(obj, group = "TreatmentGroup")

Arguments

obj

An object to be converted to a Taxmap object with create_taxmap.

group

The "TreatmentGroup" or similar grouping from your metadata to denote sample groups, Default: 'TreatmentGroup'

Value

Returns a list of alpha diversity measures with metadata.

See also

View alpha,meta to learn more about generating diversity measures with the microbiome package.

Examples

# NOT RUN {
if (interactive()) {
  library(MicrobiomeR)
  data <- analyzed_silva
  measures <- alpha_diversity_measures(data)
  measures$Shannon
}
# }