MatchEdges | R Documentation |
MatchNodes()
and MatchEdges()
matches nodes or edges in one tree to
entries in the second that denote a clade with identical tip labels.
MatchEdges(x, table, nomatch = NA_integer_)
MatchNodes(x, table, nomatch = NA_integer_, tips = FALSE)
x |
Tree whose nodes are to be matched. |
table |
Tree containing nodes to be matched against. |
nomatch |
Integer value that will be used in place of |
tips |
Logical specifying whether to return matches for tips;
unless |
The current implementation is potentially inefficient. Please contact the maintainer to request a more efficient implementation if this function is proving a bottleneck.
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree navigation:
AncestorEdge()
,
CladeSizes()
,
DescendantEdges()
,
EdgeAncestry()
,
EdgeDistances()
,
ListAncestors()
,
MRCA()
,
NDescendants()
,
NodeDepth()
,
NodeNumbers()
,
NodeOrder()
,
RootNode()
Other tree properties:
ConsensusWithout()
,
NSplits()
,
NTip()
,
NodeNumbers()
,
PathLengths()
,
SplitsInBinaryTree()
,
TipLabels()
,
TreeIsRooted()
MatchNodes(BalancedTree(8), RootTree(BalancedTree(8)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.