populationMutation {phybase}R Documentation

Change branch lengths of a gene tree in the non-clocklike species tree model (internal use only)

Description

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

Usage

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


[Package phybase version 1.1 Index]