[R-sig-phylo] estimate ancestral states of specific internal nodes

2012-05-08 Thread Annemarie Verkerk
Dear r-sig-phylo users, I have a question regarding the retrieval of ancestral states of internal nodes in a sample of trees. I am doing ancestral state estimations on a large sample of trees (using ace() in ape), but a few groups of languages are present in all my trees. I would like to know

Re: [R-sig-phylo] estimate ancestral states of specific internal nodes

2012-05-08 Thread Liam J. Revell
Hi Annemarie. If you know the tip names for all the species descended from the target node in each tree in your sample, you could use findMRCA in the phytools package. findMRCA uses ape's mrca function to get the MRCA of a set of tips. So, for instance, if your target node is the MRCA of