Description Usage Arguments Details Value Examples
Most Recent Common Ancestor (MRCA) of 2 or more nodes.
1 2 3 4 5 6 7 |
phy |
a phylogenetic tree in phylo4, phylo4d or phylo format. |
... |
a vector of nodes |
Given some nodes (i.e., tips and/or internal), this function returns the node corresponding to the most recent common ancestor.
If phy
is a phylo4
or phylo4d
object, the
nodes can contain both numeric or character values that will be
used by getNode
to retrieve the correct node. However, if
phy
is a phylo
object, the nodes must be a numeric
vector.
With phylo4
and phylo4d
objects, if a single node is
provided, it will be returned.
the node corresponding to the most recent common ancestor
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.