[R-sig-phylo] follow-up to tip coords question

2013-07-25 Thread Ellis, Vincenzo A. (UMSL-Student)
Thanks a lot Gwen! Now I have a follow up question. Imagine you want to connect tips of your phylogeny to locations on a map where they were found all in one figure. Using your code for the tip coords I can set up the figure but can't seem to get the lines to attach. Do you or anyone else have

Re: [R-sig-phylo] follow-up to tip coords question

2013-07-25 Thread Liam J. Revell
Hi Vincenzo. Can you try the attached function - phylo.to.map that I just hacked up? It takes the tree as input combined with a matrix containing latitude in column 1 longitude in column 2, with row names as species names. So, for instance: library(phytools) library(rworldmap) # from your