Description Usage Arguments Details Value References
Calculates a rarefaction curve giving expected phylogenetic diversity (mean and variance) for multiple values of sampling effort. Sampling effort can be defined in terms of the number of individuals, sites or species. Expected phylogenetic diversity is calculated using an exact analytical formulation (Nipperess & Matsen 2013) that is both more accurate and more computationally efficient than randomisation methods.
1 | phylocurve(x, phy, stepm = 1, subsampling = "individual", replace = FALSE)
|
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 |
stepm |
is the size of the interval in a sequence of numbers of
individuals, sites or species to which |
subsampling |
indicates whether the subsampling will be by
|
replace |
is a |
phylocurve
takes community data and a rooted phylogenetic
tree (with branch lengths) and calculates expected mean and variance of
Phylogenetic Diversity (PD) for every specified value of m
individuals, sites or species. m
will range from 1 to the total
number of individuals/sites/species in increments given by stepm
.
Calculations are done using the exact analytical formulae (Nipperess &
Matsen, 2013) generalised from the classic equation of Hurlbert (1971).
When there are multiple sites in the community data and rarefaction is by
individuals or species, sites are first pooled.
a matrix
object of three columns giving the expected PD values
(mean and variance) for each value of m
Hurlbert (1971) The nonconcept of Species Diversity: a critique and alternative parameters. Ecology 52: 577-586.
Nipperess & Matsen (2013) The mean and variance of phylogenetic diversity under rarefaction. Methods in Ecology & Evolution 4: 566-572.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.