bioRxivEcology
phyr: An R package for phylogenetic species-distribution modelling in ecological communities
Abstract
O_LIModel-based approaches are increasingly popular in ecological studies. A good example of this trend is the use of joint species distribution models to ask questions about ecological communities. However, most current applications of model-based methods do not include phylogenies despite the well-known importance of phylogenetic relationships in shaping species distributions and community composition. In part, this is due to lack of accessible tools allowing ecologists to fit phylogenetic species distribution models easily. C_LIO_LITo fill this gap, the R package phyr (pronounced fire) implements a suite of metrics, comparative methods and mixed models that use phylogenies to understand and predict community composition and other ecological and evolutionary phenomena. The phyr workhorse functions are implemented in C++ making all calculations and model estimations fast. C_LIO_LIphyr can fit a variety of models such as phylogenetic joint-species distribution models, spatiotemporal-phylogenetic autocorrelation models, and phylogenetic trait-based bipartite network models. phyr also estimates phylogenetically independent trait correlations with measurement error to test for adaptive syndromes and performs fast calculations of common alpha and beta phylogenetic diversity metrics. All phyr methods are united under Brownian motion or Ornstein-Uhlenbeck models of evolution and phylogenetic terms are modelled as phylogenetic covariance matrices. C_LIO_LIThe functions and model formula syntax we propose in phyr serves as a simple and unified framework that ignites the use of phylogenies to address a variety of ecological questions. C_LI
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- FishPhyloMaker: An R package to generate phylogenies for ray-finned fishes
G. Nakamura, A. Richter, B. E. Soares·Ecological InformaticsPeer-reviewed·Dec 1, 2021
- The need to include phylogeny in trait-based analyses of community composition
D. Li, A. R. Ives·bioRxiv·Oct 28, 2016
- PhyloJunction: a computational framework for simulating, developing, and teaching evolutionary models
Fábio K. Mendes, Michael J. Landis·Systematic BiologyPeer-reviewed·Aug 1, 2024
- LinguaPhylo: a probabilistic model specification language for reproducible phylogenetic analyses
A. J. Drummond, K. Chen, … D. Xie·PLOS Computational BiologyPeer-reviewed·Jul 18, 2023
- Effects of phylogeny on coexistence in model communities
C. A. Servan, J. A. Capitan, … S. Allesina·bioRxiv·Sep 4, 2020
- For common community phylogenetic analyses, go ahead and use synthesis phylogenies
D. Li, L. Trotta, … B. H. Baiser·bioRxiv·May 7, 2019