Description Usage Arguments Details Value References See Also Examples
Remove potential phylogenetic signal from a set of continuous or discrete traits.
1 | phylo_corr(phy, tra, ...)
|
phy |
phylogenetic tree of class |
tra |
matrix or data.frame, rows=species and cols=traits |
... |
additional arguments (currently ignored) |
Removes phylogenetic signal from trait values, by applying correction factors obtained from Cholesky decomposition of the phylogenetic variance-covariance matrix (Butler et al. 2000). Current implementation follows Eklöf and Stouffer (2016) in permitting both continuous and categorical traits.
Data frame of same dimensions as tra
, but with
phylogenetically-corrected values.
Butler, M.A., T.W. Schoener, and J.B. Losos. 2000. The relationship
between sexual size dimorphism and habitat use in Greater
Antillean Anolis lizards. Evolution 54:259-272.
Eklöf, A., and D.B. Stouffer. 2016. The phylogenetic component of
food web structure and intervality. Theoretical Ecology
9:107–115.
Code adapted from: https://github.com/stoufferlab/phyloint/
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.