Re: [R-sig-phylo] more problems with branch names

2012-05-09 Thread Agus Camacho
Thanks a lot for your quick responses Liam and Graham, I was warned I could have issues with spaces, but did not see these! 2012/5/9 Graham Slater > Hi Agus, > > From what you have posted, it looks as though you have a white space > between the genus abbreviation and the species name in the row

Re: [R-sig-phylo] more problems with branch names

2012-05-09 Thread Graham Slater
Hi Agus, >From what you have posted, it looks as though you have a white space between >the genus abbreviation and the species name in the row names for your csv but >not for the tree's tip labels. Try running the following after reading it in >but before attempting to match the names to the ti

Re: [R-sig-phylo] more problems with branch names

2012-05-09 Thread Liam J. Revell
Looks like this may be because your row names in your data frame have spaces, while your tree tip labels do not. Try: rownames(example)<-sub(" ","",rownames(example)) example<-example[tree$tip.label,] Help? - Liam -- Liam J. Revell University of Massachusetts Boston web: http://faculty.umb.e