Dear r-sig-phylo members - Some colleagues and I are trying to apply the
pic.ortho function in ape, but we're struggling with how to enter the data for
the analysis. We have 72 data points from 37 species. We know that the input
data have to be in the form of a list of numeric vectors, one
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
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