Returns the internal (ape
) node numbers corresponding to certain nodes in the phylogeny
basal_node(tree)
nodenumbers(tree)
nodes(tree, all = FALSE)
Descendants(node, tree)
Parent(node, tree)
Sister(node, tree)
MostRecentAncestor(tips, tree)
The internal (ape
) node number of the node
An object of type phylo
, or alternatively an object of type nodiv_data
The internal node number of a focal node in the phylogeny
Give all node labels in order of occurrence. If FALSE, only non-empty node labels will be shown in alphabetical order
The species to find the most recent common ancestor for
Michael Krabbe Borregaard
Parent
gives the code immediately basal to the focal node, Descendants
gives the nodes descending from the focal node, and Sister
gives the sister node(s). MostRecentAncestor
gives the most recent common node for the given tips.