Implements statistical methods for detecting evolutionary shifts
in both the optimal trait value (mean) and evolutionary diffusion variance.
The method uses an L1-penalized optimization framework to identify branches
where shifts occur, and the shift magnitudes. It also supports the
inclusion of measurement error. For more details, see Zhang, Ho, and Kenney (2023)
Version: 1.0.2
Authors:
ShiVa is an R package for detecting evolutionary shifts in both optimal trait values (mean) and diffusion variance across phylogenetic trees, based on the Ornstein-Uhlenbeck (OU) model. While many existing methods detect shifts in optimal values only, ShiVa simultaneously identifies both types of shifts using a penalized likelihood framework with L1 regularization.
The method is designed for researchers in evolutionary biology and comparative methods, particularly those interested in identifying abrupt regime changes along a phylogeny.
See our preprint for methodological details: arXiv:2312.17480
To install the package from GitHub:
# install.packages("devtools") # if not already installed
devtools::install_github("WenshaZ/ShiVa")