| basal_node {nodiv} | R Documentation |
Identify nodes in a phylogeny
Description
Returns the internal (ape) node numbers corresponding to certain nodes in the phylogeny
Usage
basal_node(tree)
nodenumbers(tree)
nodes(tree, all = FALSE)
Descendants(node, tree)
Parent(node, tree)
Sister(node, tree)
MostRecentAncestor(tips, tree)
Arguments
tree |
An object of type |
node |
The internal node number of a focal node in the phylogeny |
all |
Give all node labels in order of occurrence. If FALSE, only non-empty node labels will be shown in alphabetical order |
tips |
The species to find the most recent common ancestor for |
Details
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.
Value
The internal (ape) node number of the node
Author(s)
Michael Krabbe Borregaard
[Package nodiv version 1.4.2 Index]