The tree gets cut at the closest tip from the root or as soon as maxNTips lineages are counted in a breadth first traversal of the tree.

cutUltrametric(tree, maxNTips)

Arguments

tree

an object of class phylo

maxNTips

integer indicating the desired number of tips in the resulting ultrametric tree.

Value

a phylo object

Note

no tips are dropped from the tree