| mrca {oncomodel} | R Documentation |
Computes the most recent common ancestor node for a pair of nodes of a tree.
mrca(x, y, tree)
x |
a node of the tree. |
y |
a node of the tree. |
tree |
a tree in matrix format. |
the most recent common ancestor node of x and y.
data(kidney) mrca(1,2, kidney$tree)