Evaluate whether the group(s) has a significant effect on overall gut microbiota composition.
permanova(obj, distance_method = "bray", group = "TreatmentGroup")
| obj | An object to be converted to a taxmap object with |
|---|---|
| distance_method | Use a desired distance method, Default: 'bray' |
| group | The group or column in the metadata to test upon, Default: 'TreatmentGroup' |
Returns a list which includes permanova, anova, coefficients, and top coefficients.
View top_coefficients_barplot to plot the top_coefficients returned from this function.
See adonis and betadisper to understand more about how the permanova data was generated
# NOT RUN { if (interactive()) { library(MicrobiomeR) data <- analyzed_silva p <- permanova(obj = data, group = "TreatmentGroup") p$permanova } # }