How to rarefy community data in R with vegan and the tidyverse (CC200)

March 31, 2022 • PD Schloss • 1 min read

The vegan R package has a lot of useful functions for doing community ecology analysis including rarefaction with the rarefy, rrarefy, drarefy, and rarecurve functions. In this episode, I’ll show how to get data into the right format to run these functions and how to get the output into the tidyverse. You can find my blog post for this episode at https://www.riffomonas.org/code_club/2022-03-31-rarefaction-vegan. The data were generated in our Kozich et al. 2013 paper (http://doi.org/10.1128/AEM.01043-13) using samples from the Schloss et al. 2012 paper (http://doi.org/10.4161/gmic.21008).

Code

You can browse the state of the repository at the

comments powered by Disqus