getmrca | R Documentation |
Calculates the most recent common ancestor for each pair of
tips. Used internally by getEventData
.
getmrca(phy, t1, t2)
phy |
An object of class |
t1 |
A vector of mode integer or character corresponding to tips in
|
t2 |
A vector of mode integer or character corresponding to tips in
|
Finds the most recent common ancestor for each pair of tips where
pairs are defined as (t1
[1], t2
[1]), (t1
[2],
t2
[2]), ... , (t1
[i], t2
[i]), ... ,(t1
[n],
t2
[n]).
A vector of node numbers of the common ancestor for each pair of tips.
Mike Grundler
subtreeBAMM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.