View source: R/tipsMRCAdepths.R
tipsMRCAdepths | R Documentation |
This function creates a matrix where columns 1 and 2 correspond to tip labels and column 3 gives the depth of the MRCA of that pair of tips.
It is strongly based on treeVec
and is used by relatedTreeDist
and treeConcordance
where tip labels belong to "categories".
tipsMRCAdepths(tree)
tree |
An object of class phylo |
tree <- rtree(10)
plot(tree)
tipsMRCAdepths(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.