Repository logo
 

Evolutionary shift detection with variable selection method

Date

2024-12-12

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Abrupt environmental changes can lead to evolutionary shifts in trait evolution. Identifying these shifts is an important step in understanding the evolutionary history of phenotypes. We first introduce ELPASO, an ensemble variable selection method implemented as an R package, designed to detect shifts in optimal trait values. We evaluate its performance against existing methods (R packages l1ou and PhylogeneticEM) across various scenarios. Our results reveal that the choice of selection criterion significantly impacts performance: methods using the Bayesian information criterion (BIC) perform better when signal sizes are small, while the phylogenetic BIC (pBIC) excels when signal sizes are larger. Shifts near the tips of the phylogenetic tree are more difficult to detect, whereas those closer to the root are more easily identified. The performance of all methods is compromised by factors such as shifts in variance, measurement error, and errors in phylogenetic tree reconstruction. Next, we address shifts in both optimal trait values and variances by introducing ShiVa, a method based on the multi-optima, multi-variance Ornstein-Uhlenbeck (OU) process. ShiVa uses L1 regularization to detect shifts in both variance and optima. Simulation results show that ShiVa has strong predictive ability, particularly when shifts in evolutionary variance are present. Recognizing that neglecting measurement error can lead to inaccurate shift detection, we developed ShiVa-ME, an extension of ShiVa that explicitly accounts for measurement error. By incorporating L1 regularization for shifts in both optima and variances and utilizing a gradient-based approach to estimate measurement error variance, ShiVa-ME provides more accurate modeling of noisy data. Simulations show that ShiVa-ME outperforms existing methods (l1ou, PhylogeneticEM), particularly in the presence of measurement error, achieving higher predictive log-likelihoods and more accurate estimates of evolutionary and measurement error variances, while reliably identifying true evolutionary shifts.

Description

Abrupt environmental changes drive evolutionary shifts in traits, essential for understanding phenotypic evolution. We introduce three methods—ELPASO, ShiVa, and ShiVa-ME—that address key challenges in shift detection, including shifts in variance and measurement error. ELPASO identifies shifts in optimal trait values, while ShiVa extends detection to both optima and variances using a multi-optima, multi-variance Ornstein-Uhlenbeck model. ShiVa-ME further improves accuracy by accounting for measurement error. Through rigorous assessment, we evaluate the impact of various factors and model assumptions, providing a robust framework for evolutionary shift detection.

Keywords

evolutionary shift detection, Ornstein-Uhlenbeck model, LASSO, trait evolution, ensemble method, phylogenetic comparative methods, ELPASO, ShiVa

Citation