tipsMRCAdepths {treespace} | R Documentation |
Tip-tip MRCA depths
Description
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".
Usage
tipsMRCAdepths(tree)
Arguments
tree |
An object of class phylo |
Examples
tree <- rtree(10)
plot(tree)
tipsMRCAdepths(tree)
[Package treespace version 1.1.4.3 Index]