no0br: No zero branch length

Description Usage Arguments Value

View source: R/aee.R

Description

This function does a small tweak on the tree to remove zero-length branch between root and MRCA of the ingroup, and replace any negative branch lengths with a small length

Usage

1
no0br(phy)

Arguments

phy

an rooted tree

Value

returns the tree without zero-length or negative-length branch


hr1912/phyExp documentation built on July 13, 2019, 5:18 p.m.