Skip to content

TreeSimGM

Simulating Phylogenetic Trees under General Bellman Harris and Lineage Shift Model

v2.5 · Mar 4, 2020 · GPL-2

Description

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>.

Downloads

259

Last 30 days

16828th

608

Last 90 days

2.2K

Last year

Trend: +33.5% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Oskar Hagen <oskar.hagen@outlook.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Oskar",
                      family = "Hagen",
                      role = c("aut", "cre"),
                      email = "oskar.hagen@outlook.com"),
               person(given = "Tanja",
                      family = "Stadler",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Oskar Hagen <oskar.hagen@outlook.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Oskar",
                      family = "Hagen",
                      role = c("aut", "cre"),
                      email = "oskar.hagen@outlook.com"),
               person(given = "Tanja",
                      family = "Stadler",
                      role = "aut"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Oskar Hagen <oskar.hagen@outlook.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Oskar",
                      family = "Hagen",
                      role = c("aut", "cre"),
                      email = "oskar.hagen@outlook.com"),
               person(given = "Tanja",
                      family = "Stadler",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Oskar Hagen <oskar.hagen@outlook.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Oskar",
                      family = "Hagen",
                      role = c("aut", "cre"),
                      email = "oskar.hagen@outlook.com"),
               person(given = "Tanja",
                      family = "Stadler",
                      role = "aut"))
as necessary.

Dependency Network

Dependencies Reverse dependencies TreeSim ape TreeSimGM

Version History

new 2.5 Mar 10, 2026
updated 2.5 ← 2.3 diff Mar 4, 2020
updated 2.3 ← 2.2 diff Sep 24, 2017
updated 2.2 ← 2.1 diff Aug 9, 2017
updated 2.1 ← 1.2 diff May 4, 2017
updated 1.2 ← 1.1 diff Jul 24, 2014
updated 1.1 ← 1.0 diff Feb 20, 2013
new 1.0 Feb 13, 2013