Re: [R-sig-phylo] Easiest way to get the stem age of a clade?

2014-02-15 Thread Simon Greenhill
Thanks Liam! Looks perfect. --Simon On 13 Feb 2014, at 4:38 pm, Liam J. Revell liam.rev...@umb.edu wrote: Hi Simon. By this, do you mean the age of the start of the edge leading to the MRCA of a set of taxa? This is easy using phytools. If you want to get this age as the height above

[R-sig-phylo] Easiest way to get the stem age of a clade?

2014-02-12 Thread Simon Greenhill
Hi all, What's the easiest way to get the stem age of a given clade of a tree? Many thanks, Simon ___ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at

Re: [R-sig-phylo] Easiest way to get the stem age of a clade?

2014-02-12 Thread Liam J. Revell
Hi Simon. By this, do you mean the age of the start of the edge leading to the MRCA of a set of taxa? This is easy using phytools. If you want to get this age as the height above the root: H-nodeHeights(tree) ## tips are the species in the clade, or a subset of the species ## such that the