transform_branch_length {PhylogeneticEM}R Documentation

Transform branch length for a re-scaled BM

Description

Re-scale the branch length of the tree so that a BM running on the new tree produces the same observations at the tips than an OU with parameter alpha.

Usage

transform_branch_length(phylo, alp)

Arguments

phylo

A phylogenetic tree of class phylo, with branch lengths.

alp

Value of the selection strength.

Value

phylo The same phylogenetic tree, with transformed branch lengths.


[Package PhylogeneticEM version 1.7.0 Index]