tipsMRCAdepths: Tip-tip MRCA depths

View source: R/tipsMRCAdepths.R

tipsMRCAdepthsR 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)


treespace documentation built on Sept. 8, 2023, 6:04 p.m.