getDivergence {dowser} | R Documentation |
getDivergence
get sum of branch lengths leading from the
root of the tree. If the germline sequence is included in the tree,
this will equal the germline divergence. If germline removed,
this will equal the MRCA divergence
getDivergence(phy, minlength = 0.001)
phy |
Tree object |
minlength |
Branch lengths to collapse in trees |
A named vector of each tip's divergence from the tree's root.