This is exactly what findMRCA in phytools does, but I wrote it a while ago so I'm not sure how fast it is....

- Liam

Liam J. Revell, Assistant Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: liam.rev...@umb.edu
blog: http://blog.phytools.org

On 5/9/2013 11:24 AM, Nicholas Crouch wrote:
Hi All,

The 'mrca' function in Ape provides a method for finding the common
ancestor of a pair of taxa. What I would like have not found is a function
where you can pass a (long) list of tips from a phylogeny and find the node
which represents the common ancestor to all these tips.

Does such a function exist? Or could the 'mrca' function be expanded to
loop over all the taxa within a list a somehow boil down to what is the
common ancestor that way?

Thanks,

Nick

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/


_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to