Description Usage Arguments Value See Also Examples
View source: R/alpha-diversity.R
This function generates various alpha diversity measures include Shannon, Fisher, Coverage, GiniSimpson, and InverseSimpson.
1 | 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.
View alpha
,meta
to learn more about generating diversity measures with the microbiome package.
1 2 3 4 5 6 7 8 9 | ## Not run:
if (interactive()) {
library(MicrobiomeR)
data <- analyzed_silva
measures <- alpha_diversity_measures(data)
measures$Shannon
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.