no0br: No zero branch length

Description Usage Arguments Value

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


jingwyang/AnceTran documentation built on May 19, 2019, 2:57 a.m.