Description Usage Arguments Value Author(s) References Examples
This function calculates alpha diversity of provided community data using selected indices/method(s). It performs pair-wise ANOVA of diversity measures between groups and outputs a plot for each of the selected methods(indices) annotated with significance levels.
1 2 | plot_anova_diversity(physeq, method, grouping_column,
pValueCutoff = 0.05, outfile = "anova_diversity.csv")
|
physeq |
(Required). A |
method |
(Required). A list of character strings specifying |
grouping_column |
(Required). A character string specifying the name of a categorical variable containing grouping information. |
Returns a ggplot object which can further be manipulated further.
Alfred Ssekagiri assekagiri@gmail.com,Umer Zeeshan Ijaz Umer.Ijaz@glasgow.ac.uk
http://userweb.eng.gla.ac.uk/umer.ijaz/, Umer Ijaz, 2015
1 2 3 4 5 | data(pitlatrine)
physeq <- pitlatrine
p<-plot_anova_diversity(physeq, method = c("richness","simpson"),grouping_column = "Country",pValueCutoff=0.05)
plot_anova_diversity(physeq, method = c("richness","shannon"), grouping_column = "Depth")
print(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.