roundBranches: Rounds the branch lengths of a tree
Description
This function rounds the branch lengths of a tree and reconciles any mappings (as in read.simmap) with the rounded branch lengths.Usage
roundBranches(tree, digits)
Arguments
digits
number of digits for rounding. Passed to round. Value
- A tree with branch lengths, or modified
"phylo" object with a mapped discrete character.