There's really no reason to generate collector's curves (aka species accumulation curves) or a rarefaction curve. But... seeing how to generate these curves is a convienent approach for illustrating the concepts behind rarefaction. Plus it gives us more practice to learn fun functions from the tidyverse. Along the way we'll look at the effect of the number of iterations and compare this empirical approach to the exact solution that we used in the last episode. I'll show how to synthesize and visualize the data using tools from base R, dplyr, ggplot2 and other tidyverse packages.
You can find my blog post for this episode at www.riffomonas.org/code_club/.... The data were generated in our Kozich et al. 2013 paper (doi.org/10.1128/AEM.01043-13) using samples from the Schloss et al. 2012 paper (doi.org/10.4161/gmic.21008).
#rarefation #math #R #Rstudio #Rstats
Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at shop.riffomonas.org/youtube to get practice problems, tips, and insights.
If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at riffomonas.org/workshops/
You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: www.riffomonas.org/minimalR/
General data: www.riffomonas.org/generalR/
0:00 Collector's curves and rarefaction curves
3:53 Generating a collector's curve
9:53 Generating a rareaction curve
14:33 Displaying the true value on the curves
16:41 Investigating the impact of the number of iterations
Негізгі бет Ғылым және технология Generating a rarefaction curve from collector's curves in R within the tidyverse (CC198)
Пікірлер: 6