populationMutation: Change branch lengths of a gene tree in the non-clocklike...

Description Usage Arguments Value Author(s)

Description

This function changes branch lengths of a gene tree with the mutation rates in the species tree.

Usage

1
populationMutation(sptree, spnodedepth, genetree, genenodedepth, speciesmatrix)

Arguments

sptree

the species tree

spnodedepth

depth of the species tree

genetree

a gene tree

genenodedepth

depth of the gene tree

speciesmatrix

tree node matrix of the species tree

Value

It returns a gene tree.

Author(s)

Liang Liu


bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.