Learn R Programming

apTreeshape (version 1.5-0.1)

build_tree: Internal BetaAlphaEta function

Description

Builds the tree using node depths as in the birth-death model and coalescent point process; "The shape and probability of reconstructed phylogenies", by Amaury Lambert and Tanja Stadler (Theoretical Population Biology, 2013)

Usage

build_tree(H, tip.lab = rep(NA, length(H) + 1))

Arguments

H

Vector of node depths

tip.lab

Vector of tip labels

Value

A phylo object

References

Lambert, Amaury, and Tanja Stadler. Birth-death models and coalescent point processes: The shape and probability of reconstructed phylogenies. Theoretical population biology 90 (2013): 113-128.