View source: R/tree_properties.R
| NodeNumbers | R Documentation |
NodeNumbers() returns a sequence corresponding to the nodes in a treeNumeric index of each node in a tree
NodeNumbers() returns a sequence corresponding to the nodes in a tree
NodeNumbers(tree, tips = FALSE)
tree |
A tree of class |
tips |
Logical specifying whether to also include the indices of leaves. |
NodeNumbers() returns an integer vector corresponding to the
indices of nodes within a tree.
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree properties:
ConsensusWithout(),
MatchEdges(),
NSplits(),
NTip(),
PathLengths(),
SplitsInBinaryTree(),
TipLabels(),
TreeIsRooted()
Other tree navigation:
AncestorEdge(),
CladeSizes(),
DescendantEdges(),
EdgeAncestry(),
EdgeDistances(),
ListAncestors(),
MRCA(),
MatchEdges(),
NDescendants(),
NodeDepth(),
NodeOrder(),
RootNode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.