View source: R/alpha_diversity_graph.R
| alpha_diversity_graph | R Documentation | 
Inputs a phyloseq-class object and
creates boxplot of the alpha diversity as a ggplot object.
alpha_diversity_graph(phyloseq_obj, treatment = NULL, subset = NULL,
index = "shannon", colors = "default")
phyloseq_obj | 
 A   | 
treatment | 
 Column name as a string or number in the
  | 
subset | 
 A factor within the   | 
index | 
 The diversity index to calculate ("shannon", "simpson", "invsimpson")  | 
colors | 
 Name of a color set from the RColorBrewer package or a vector palette of R-accepted colors.  | 
ggplot-object
alpha_diversity_graph(soil_column, index = "shannon",
treatment = c("Matrix", "Treatment"), subset = NULL, colors = "default")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.