View source: R/Node_based_analysis.R
basal_node | R Documentation |
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)
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 |
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.
The internal (ape
) node number of the node
Michael Krabbe Borregaard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.