TiPS : Rapidly simulating trajectories and phylogenies from compartmental models
Methods in Ecology and Evolution · 2023-02 · 14 (2) · 487-495
DOI: 10.1111/2041-210x.14038 ↗Kurz gefasst
Fachartikel in der Zeitschrift Methods in Ecology and Evolution, online erschienen am 12.12.2022. Verfasst von Gonché Danesh und 4 weiteren Autor:innen. Die Arbeit wurde bisher 9-mal zitiert (Crossref) und nennt 32 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0). Gefördert von: Fondation pour la Recherche Médicale.
Abstract (Originalsprache)
Stochastic population dynamics simulations are essential for many ecological and epidemiological studies to generate time series and genealogies that capture the relatedness between individuals. Many software packages allow one to simulate phylogenetic trees but these tend to suffer from one or two major limitations. First, the underlying population dynamics model is often simplistic (e.g. constant population size or exponential growth). Second, the software packages are not appropriate to simulate a large number of trees. We introduce TiPS, an R package to generate trajectories and phylogenetic trees associated with a compartmental model. Trajectories are simulated using Gillespie's exact or approximate stochastic simulation algorithm, or a newly proposed mixed version of the two. Phylogenetic trees are simulated from a trajectory under a backwards‐in‐time approach (i.e. coalescent). TiPS is based on the Rcpp package, allowing to combine the flexibility of R for model definition and the speed of C++ for simulations execution. The model is defined in R with a set of reactions, which allow capturing heterogeneity in life cycles or any sort of population structure. TiPS converts the model into C++ code and compiles it into a simulator that is interfaced in R via a function. TiPS is flexible, easy‐to‐use and available on the CRAN at https://cran.r‐project.org/package=TiPS . Plus, benchmarking analyses show that TiPS is faster than existing packages. This package is particularly well suited for population genetics and phylodynamics studies that need to generate a large number of phylogenies used for population dynamics studies.
Förderung
- Fondation pour la Recherche Médicale
Zitieren
APA
Danesh, G., Saulnier, E., Gascuel, O., Choisy, M., & Alizon, S. (2023). TiPS : Rapidly simulating trajectories and phylogenies from compartmental models. Methods in Ecology and Evolution, 14(2), 487-495. https://doi.org/10.1111/2041-210x.14038
Vancouver
Danesh G, Saulnier E, Gascuel O, Choisy M, Alizon S. TiPS : Rapidly simulating trajectories and phylogenies from compartmental models. Methods in Ecology and Evolution. 2023;14(2):487-495. doi:10.1111/2041-210x.14038
BibTeX
@article{Danesh2023,
author = {Danesh, Gonché and Saulnier, Emma and Gascuel, Olivier and Choisy, Marc and Alizon, Samuel},
title = {TiPS : Rapidly simulating trajectories and phylogenies from compartmental models},
journal = {Methods in Ecology and Evolution},
year = {2023},
volume = {14},
number = {2},
pages = {487--495},
doi = {10.1111/2041-210x.14038}
}
EUVIMED