Using adonis and betadisper from the vegan R package to compare groups (CC208)
In this episode of Code Club, I provide a tutorial on using the adonis and betadisper functions from the vegan R package to compare groups of microbial communities. Along the way, Pat will review how to make an ordination with indicators of the centroid and ellipses around the points. We’ll also discuss how to perform analyses with two variables simultaneously. He’ll demonstrate this approach by using functions from vegan
, dplyr
, and ggplot2
.
Code
You can browse the state of the repository at the