Hi everyone,
I'm wondering if someone could tell me how to access the coordinates of the
tips on a phylogenetic tree. I'd like to be able to draw lines from the tips to
say the tips of another tree, or to points on a map, etc.
If you generate a random tree
library(phytools)
tree <- pbtree(n=20)
is there an easy way to do it? I think you can get the length from the base of
the tree to each tip using
nodeHeights(tree)
but I can't figure out how to get the other dimension (i.e., the spread of the
tips).
Thanks for any help!
Vincenzo
[[alternative HTML version deleted]]
_______________________________________________
R-sig-phylo mailing list - [email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/[email protected]/