class: center, middle, inverse, title-slide .title[ # 2. Species Richness and Diversity ] .subtitle[ ## Alpha Diversity ] .author[ ### Jasper Slingsby, BIO3018F ] .date[ ### 2025-01-28 ] --- layout: false .pull-left[ ## How do we compare diversity between sites? <img src="images/grassland.jpeg" width="95%" style="display: block; margin: auto;" /> ] .pull-right[ <img src="images/fynbos.png" width="75%" style="display: block; margin: auto;" /> <img src="images/forestyoung.jpg" width="75%" style="display: block; margin: auto;" /> ] --- layout: false .pull-left[ ## `\(\alpha\)`-diversity The species diversity/richness within local-scale sites, habitats or communities (often termed "point diversity") is called **alpha `\((\alpha)\)` diversity**. .footnote[Whittaker (1972)] ] .pull-right[ <img src="images/diversitycomponents_alpha.png" width="110%" style="display: block; margin: auto 0 auto auto;" /> .footnote[Three sample localities in a landscape.] ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Can be counts of the number of species in samples, <img src="images/alphadiversity1.png" width="70%" style="display: block; margin: auto;" /> ] .pull-right[ <br> *S* = a simple count of species ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Can be counts of the number of species in samples, <img src="images/alphadiversity1.png" width="70%" style="display: block; margin: auto;" /> ] .pull-right[ <br> *S* = a simple count of species <br> *But what of relative abundance?* Should a species that is represented by one individual be considered equivalent to one with thousands of individuals? ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Can be counts of the number of species in samples, <img src="images/alphadiversity1.png" width="70%" style="display: block; margin: auto;" /> or include information on their **relative abundance** ] .pull-right[ <br> *S* = a simple count of species <br> *But what of relative abundance?* Should a species that is represented by one individual be considered equivalent to one with thousands of individuals? <br> A community is considered more diverse if the relative abundances are more evenly distributed - because removing one individual is less likely to remove a species. ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Can be counts of the number of species in samples, <img src="images/alphadiversity.png" width="70%" style="display: block; margin: auto;" /> or include information on their **relative abundance** ] .pull-right[ <br> **Shannon's index** (*H'*) quantifies species diversity taking into account both species' richness and _**evenness**_ in their relative abundance `\(H' = -\sum_{i=1}^{n}(p_i*ln(p_i))\)` where `\(p_i\)` is the proportion of individuals belonging to the *i*th species. <br> You can also quantify evenness independently of richness, e.g. - **Pielou's evenness** (*J*) in the relative abundance (independent of *S*) can be calculated directly as `\(J = H'/log(S)\)` - Ranges near 0 to 1 (maximum evenness) ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Many studies will refer to species counts as "species richness", but this is often in error... Species counts are sensitive to the number of individuals sampled. More individuals means greater potential to encounter more species. <img src="images/taylorplot.gif" width="70%" style="display: block; margin: auto;" /> ] .pull-right[ <img src="images/spp_ind_accum_CP.png" width="100%" style="display: block; margin: auto 0 auto auto;" /> ##### Species counts relative to number of individuals sampled across eighty-one 50m<sup>2</sup> vegetation plots in Table Mountain National Park (data from Slingsby et al. 2017). The relationship is non-linear and asymptotic. ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Dependence of species counts on number of individuals sampled is problematic when the number of individuals varies between samples (e.g. vegetation plots of different area or with different size individuals, netting events, etc). <img src="images/fire_age.png" width="100%" style="display: block; margin: auto;" /> While raw species counts can still be useful for many purposes, it is also useful to have a metric that is independent of abundance and sampling effort. ] .pull-right[ <img src="images/spp_abund_CP.png" width="90%" style="display: block; margin: auto;" /> ##### Species counts relative to number of individuals sampled for each of eighty-one 50m<sup>2</sup> vegetation plots in Table Mountain National Park (data from Slingsby et al. 2017). Since the plots are of a set unit area (50m<sup>2</sup>), the species counts in this figure can also be termed ***species density***. ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... Dependence of species counts on number of individuals sampled is problematic when the number of individuals varies between samples (e.g. vegetation plots of different area or with different size individuals, netting events, etc). <img src="images/forest_fynbos.png" width="100%" style="display: block; margin: auto 0 auto auto;" /> While raw species counts can still be useful for many purposes, it is also useful to have a metric that is independent of abundance and sampling effort. ] .pull-right[ <img src="images/forestyoung.jpg" width="75%" style="display: block; margin: auto 0 auto auto;" /> <img src="images/fynbos.png" width="75%" style="display: block; margin: auto 0 auto auto;" /> ] --- layout: false .pull-left[ ## Species-Area relationship We often compare the diversity of large areas using the species-area relationship (SAR). <img src="images/sad.png" width="100%" style="display: block; margin: auto;" /> ] .pull-right[ <br> We estimate the SAR by sampling nested plots of increasing size. <img src="images/nested_plots.png" width="40%" style="display: block; margin: auto;" /> When comparing sites, one solution is to sample enough area to reach the asymptote of the SAR. This isn't often logistically (or logically) feasible, so we usually fit curves to estimate the diversity of the larger area by extrapolation. ] --- layout: false .pull-left[ ## Species-Area relationship The density of individuals can affect the shape of the species-area relationship (SAR) at fine scales, because of the relationship between species counts and the number of individuals sampled. <img src="images/sad.png" width="100%" style="display: block; margin: auto;" /> ] .pull-right[ Many factors can affect the SAR: - size of individuals - patchiness/heterogeneity - dispersal (limitation) - immigration/extinction - disturbance - productivity (e.g. sparse desert vegetation has fewer individuals per unit area) All sites have same total # of species, but may vary in: - Site 1 = many, small individuals - Site 2 = intermediate - Site 3 = fewer, large individuals Or: - Site 1 = homogenous/uniform spread of species - Site 2 = intermediate - Site 3 = heterogenous/patchy spread of species <br> ] --- layout: false .pull-left[ ## Quantifying `\(\alpha\)`-diversity... ###*Species richness* ...is usually reserved to mean an estimate of the number of species while taking abundance and sampling effort into account (see Gotelli and Colwell 2001 for review). ...is often estimated using individual or sample-based ***rarefaction***<sup>1</sup>. Rarefaction involves resampling a set number (*n*) of individuals or samples from the data to determine the expected number of species for any given *n*. Resampling is repeated multiple times for each *n* and the results averaged. .footnote[<sup>1</sup>there are better methods these days (e.g. Hill numbers), but they are more complicated...] ] .pull-right[ <img src="images/spec_ind_raref_CP.png" width="100%" style="display: block; margin: auto 0 auto auto;" /> ##### Individual-based rarefaction curve developed by sampling individuals from the pooled data from eighty-one 50m<sup>2</sup> vegetation plots in Table Mountain National Park (data from Slingsby et al. 2017). Black line = mean; gray = standard deviation. ] --- layout: false .pull-left[ ###Individual-based *accumulation* curve <img src="images/spp_ind_accum_CP.png" width="85%" style="display: block; margin: auto;" /> Curve is not smooth, because individuals (and thus species) are added in whatever order (in this case alphabetically by plot). ] .pull-right[ ###Individual-based *rarefaction* curve <img src="images/spec_ind_raref_CP.png" width="85%" style="display: block; margin: auto;" /> Curve is smooth, because individuals (and thus species) are repeatedly sampled and averaged for each sample size. ] --- layout: false .pull-left[ ###Sample-based *accumulation* curve <img src="images/spp_sites_accum_CP.png" width="85%" style="display: block; margin: auto;" /> Curve is not smooth, because samples (and thus species) are added in whatever order (in this case by plot number). ] .pull-right[ ###Sample-based *rarefaction* curve <br> <img src="images/spec_sites_raref_CP.png" width="85%" style="display: block; margin: auto;" /> Curve is smooth, because samples (and thus species) are repeatedly sampled and averaged for each sample size. ] --- layout: false ##Comparing diversity between sites or surveys .pull-left[ ####Sample-based *rarefaction* <img src="images/spec_sites_raref_CP_comp.png" width="75%" style="display: block; margin: auto;" /> ] .pull-right[ ####Individual-based *rarefaction* <img src="images/spec_ind_raref_CP_comp.png" width="75%" style="display: block; margin: auto;" /> ] Note that you can compare between sites by rarefying for a set number of individuals or samples/plots! Rarefying by samples doesn't really get around the issue of different numbers of individuals though... --- layout: false ##Comparing diversity between *samples* .pull-left[ ####Raw species counts <img src="images/spec_comp_CP.png" width="60%" style="display: block; margin: auto;" /> .footnote[Note the difference in correlation (_R_) and slope (_y_).] ] .pull-right[ ####Individual-based *rarefaction*<sup>1</sup> <img src="images/sper_comp_CP.png" width="60%" style="display: block; margin: auto;" /> .footnote[<sup>1</sup>for *n* = 10 individuals from each sample] ] --- layout: false ##Comparing diversity between *samples* .pull-left[ ####Raw species counts <img src="images/spec_comp_hist_CP.png" width="60%" style="display: block; margin: auto;" /> Paired T-test: t = 1.4957, df = 80, p-value = 0.1387 ] .pull-right[ ####Individual-based *rarefaction*<sup>1</sup> <img src="images/sper_comp_hist_CP.png" width="60%" style="display: block; margin: auto;" /> Paired T-test: t = 3.2953, df = 80, p-value = _***0.0015***_ .footnote[<sup>1</sup>for *n* = 10 individuals from each sample] ] --- class: center, middle ## Take home Alpha diversity is the diversity at a point location (e.g. a vegetation plot). Measures of species diversity can consider both the counts of species and evenness in their relative abundance. Measures of species diversity are affected by factors like the area and number of individuals sampled. Other factors can be important too, like the timing and length of time sampled for (e.g. bird netting, fishing, etc) or the heterogeneity of the environment if sampling by area. You need to choose your measure of diversity carefully, and potentially correct for these sampling effects (e.g. by using rarefaction, sampling a larger area, estimating the species-area relationship, etc), depending on your question and the taxonomic groups you're working on. --- ## References Gotelli, N. J. and R. K. Colwell (2001). "Quantifying biodiversity: procedures and pitfalls in the measurement and comparison of species richness". In: _Ecology letters_ 4.4, pp. 379-391. ISSN: 1461-023X, 1461-0248. DOI: [10.1046/j.1461-0248.2001.00230.x](https://doi.org/10.1046%2Fj.1461-0248.2001.00230.x). Slingsby, J. A., C. Merow, M. Aiello-Lammens, et al. (2017). "Intensifying postfire weather and biological invasion drive species loss in a Mediterranean-type biodiversity hotspot". En. In: _Proceedings of the National Academy of Sciences of the United States of America_ 114.18, pp. 4697-4702. ISSN: 0027-8424, 1091-6490. DOI: [10.1073/pnas.1619014114](https://doi.org/10.1073%2Fpnas.1619014114). Whittaker, R. H. (1972). "Evolution and measurement of species diversity". En. In: _Taxon_ 21.2-3, pp. 213-251. ISSN: 0040-0262, 1996-8175. DOI: [10.2307/1218190](https://doi.org/10.2307%2F1218190). --- class: center, middle # Thanks! Slides created via the R packages: [**xaringan**](https://github.com/yihui/xaringan)<br> [gadenbuie/xaringanthemer](https://github.com/gadenbuie/xaringanthemer)