FindDescendants {strap} | R Documentation |
Finds the tip numbers descending from a specific node in a phylo object
Description
Finds the tip numbers descending from a specific node in a phylo object.
Usage
FindDescendants(n, tree)
Arguments
n |
The node number. |
tree |
Tree as a phylo object. |
Details
A simple way to get the tips descending from a given node in a phylogenetic tree.
Value
A vector of the descendant tip numbers.
Author(s)
Graeme T. Lloyd graemetlloyd@gmail.com
Examples
# Find descendants of the root node in the lungfish tree:
FindDescendants(n = 87, tree = Dipnoi$tree)
[Package strap version 1.6-1 Index]