Given a tree and a results data frame, add a new MRCA column that records
the node ID of the most recent common ancestor in that tree for each row.
Arguments
- df
A results data frame created with the
extractValues()function- tree
A tree created with the
makeTidyTree()function.
See also
Other Functions for trees:
childSpecies(),
extractValues(),
subMatrix()
Other Focal clade functions:
eog(),
focalClade(),
recordClades(),
subMatrix(),
subTree(),
visualizeTree()