Package: TreeSimGM 2.5

TreeSimGM: Simulating Phylogenetic Trees under General Bellman Harris and Lineage Shift Model

Provides a flexible simulation tool for phylogenetic trees under a general model for speciation and extinction. Trees with a user-specified number of extant tips, or a user-specified stem age are simulated. It is possible to assume any probability distribution for the waiting time until speciation and extinction. Furthermore, the waiting times to speciation / extinction may be scaled in different parts of the tree, meaning we can simulate trees with clade-dependent diversification processes. At a speciation event, one species splits into two. We allow for two different modes at these splits: (i) symmetric, where for every speciation event new waiting times until speciation and extinction are drawn for both daughter lineages; and (ii) asymmetric, where a speciation event results in one species with new waiting times, and another that carries the extinction time and age of its ancestor. The symmetric mode can be seen as an vicariant or allopatric process where divided populations suffer equal evolutionary forces while the asymmetric mode could be seen as a peripatric speciation where a mother lineage continues to exist. Reference: O. Hagen and T. Stadler (2017). TreeSimGM: Simulating phylogenetic trees under general Bellman Harris models with lineage-specific shifts of speciation and extinction in R. Methods in Ecology and Evolution. <doi:10.1111/2041-210X.12917>.

Authors:Oskar Hagen, Tanja Stadler

TreeSimGM_2.5.tar.gz
TreeSimGM_2.5.zip(r-4.5)TreeSimGM_2.5.zip(r-4.4)TreeSimGM_2.5.zip(r-4.3)
TreeSimGM_2.5.tgz(r-4.4-any)TreeSimGM_2.5.tgz(r-4.3-any)
TreeSimGM_2.5.tar.gz(r-4.5-noble)TreeSimGM_2.5.tar.gz(r-4.4-noble)
TreeSimGM_2.5.tgz(r-4.4-emscripten)TreeSimGM_2.5.tgz(r-4.3-emscripten)
TreeSimGM.pdf |TreeSimGM.html
TreeSimGM/json (API)

# Install 'TreeSimGM' in R:
install.packages('TreeSimGM', repos = c('https://ohagen.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.71 score 17 scripts 236 downloads 3 mentions 3 exports 42 dependencies

Last updated 5 years agofrom:ba8c1df751. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winOKNov 20 2024
R-4.5-linuxOKNov 20 2024
R-4.4-winOKNov 20 2024
R-4.4-macOKNov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:sim.agesim.taxatrack.shift

Dependencies:apecliclusterGenerationcodacodetoolscolorspacecombinatcpp11DEoptimdeSolvedigestdoParallelexpmfastmatchforeachgeigergenericsglueigraphiteratorslatticelifecyclemagrittrmapsMASSMatrixmnormtmvtnormncbitnlmenumDerivoptimParallelphangornphytoolspkgconfigquadprogRcpprlangscatterplot3dsubplexTreeSimvctrs

Introduction to TreeSimGM

Rendered fromTreeSimGM.Rmdusingknitr::knitron Nov 20 2024.

Last update: 2020-03-04
Started: 2017-08-10