populationMutation {phybase} | R Documentation |
This function changes branch lengths of a gene tree with the mutation rates in the species tree.
populationMutation(sptree, spnodedepth, genetree, genenodedepth, speciesmatrix)
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 |
It returns a gene tree.
Liang Liu