phylodiv.estimate | R Documentation |
Estimates total phylogenetic diversity (both detected and undetected) for each sample/site or a set of samples/sites. Estimated phylogenetic diversity is calculated using an extrapolation of the rarefaction curve (Chao et al. 2015). For undetected phylogenetic diversity, this is considered a lower bound.
phylodiv.estimate(x, phy, subsampling = "individual")
x |
is the community data given as a |
phy |
is a rooted phylogenetic tree with branch lengths stored as a
phylo object (as in the |
subsampling |
indicates whether the subsampling will be by
|
phylodiv_estimate
takes community data and a rooted
phylogenetic tree (with branch lengths) and calculates estimated total
Phylogenetic Diversity (PD) for both detected and undetected species. When
there are multiple sites in the community data and subsampling is by site,
data are converted to incidence (if not already) and then pooled. When
subsampling is by individual, estimated PD is calculated for every
sample/site.
a list
, giving observed and estimated PD values. Each element
of the list is a numeric
, giving PD values for every sample/site or a
single value for pooled samples/sites.
Chao et al. (2015) Rarefaction and extrapolation of phylogenetic diversity. Methods in Ecology & Evolution 6: 380-388.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.