View source: R/plot_alpha_diversity.R
plot_alpha_diversity | R Documentation |
This function calculates alpha diversity of provided community data using selected method(s). It performs paired wilcox or t-test of diversity measures between groups and outputs a plot for each of the selected methods(indices) annotated with significance levels.
plot_alpha_diversity(alphares)
alphares |
(Required). A result from |
method |
(Required). A list of character strings specifying |
22/01/2020 ShenZhen China
Returns a ggplot object
Huahui Ren, zouhua
library(dplyr)
library(ggplot2)
source("R/config.R")
data(physeq_data)
alphares <- alpha_diversity(physeq_data)
plot_alpha_diversity(physeq_data, method, grouping_column, pid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.