Description Usage Arguments Value Note Author(s) References Examples
As described in Pearse et al. (in press), this function calculations phylogenetic beta-dispersion for each clade within a phylogeny. Beta-dispersion is the variation of presences and absences across multiple sites, and by focusing on clades' dispersions patterns it is possible to unpick processes occurring across a system. This method is based around species' variances in While this code reports an analytical expectation (and so p-value) for
1 |
data |
|
alpha |
Critical values (DEFAULT: 5 confidence intervals. See notes for details about this. |
clade |
If given (by default not: NULL) then values for only these clades will be returned. Should be a numeric vector of any length; negative values are interpreted as excluding certain clades. Rarely, if ever, needed. |
a data.frame with each clade's observed
variance, Faith's pd (calculated by summing the
branch lengths of each clade), the number of species in the
clade, the expected variance (from the analytical expectation;
see 'notes'), and then the upper and lower confidence interval
bounds for expectation of that variance (see also 'notes';
calculated at a critical value of alpha).
As described in Pearse et al. (in press), there are two ways of assessing the statistical significance of this approach: an analytical expectation and through a null permutation test. This code returns the analytical expectation; to perform a bootstrap, simply run this function many times across data you have permuted in some way. The assumptions implicit in the analytical test (e.g., iid and Normally distributed abundances/occurrences) will rarely, if ever, be met, and so I advise against using it as anything other than a general guide.
Will Pearse
Pearse WD, Legendre P, Peres-Neto, PR, & Davies TJ (in press). The interaction of phylogeny and community structure: Linking the community composition and trait evolution of clades. Global Ecology & Biogeography (available online at bioRxiv: 404111).
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.