For each node at a given distance from the root, this function finds the size of its induced subclade, i.e. its number of tip descendants.
1 |
tree |
a tree of class |
dist |
integer distance of nodes of interest from the root. |
A vector of integers, each corresponding to the clade size of a node at the given distance from the root. The clade sizes are given in ascending order and each is labelled by its node name or number. This vector can be considered as a partition of the tips or the "split topology" of the tree at a given depth.
Michelle Kendall michelle.louise.kendall@gmail.com
Michael Boyd mboyd855@gmail.com
1 2 3 4 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.