Using the mantel test to compare ecological matrices using the vegan R package (CC211)

May 9, 2022 • PD Schloss • 1 min read

The Mantel test is useful for comparing distances matrices and is straightforward to do with the mantel function from the vegan R package. In this Code Club, Pat will use the Mantel test to compare bin-based and phylogenetic beta diversity matrices (weighted and unweighted UniFrac) and to compare membership and structure based metrics of beta diversity. What correlates with what? He’ll answer this question using data generated with mothur and R functions from vegan, dplyr, and ggplot2.

Code

You can browse the state of the repository at the

comments powered by Disqus