[R-sig-phylo] Problems with write.nexus of the package "ape"

2013-06-29 Thread Agus Camacho
Dear all, After correcting the names of a otherwise perfectly functional tree using gsub, >tree$tip.label=gsub("_", " ", tree$tip.label the new tree looks nice, but when i save it using write.nexus and reopen it, i get: > wtree=read.nexus("tree_corrected_names.nexus")Warning message:In matri

Re: [R-sig-phylo] Problems with write.nexus of the package "ape"

2013-07-02 Thread Emmanuel Paradis
Hi Agus, The problem is that spaces are ignored in Newick and NEXUS files. Maybe you do not need to replace "_" for " " ? Best, Emmanuel Le 29/06/2013 15:15, Agus Camacho a écrit : Dear all, After correcting the names of a otherwise perfectly functional tree using gsub, tree$tip.label=g

Re: [R-sig-phylo] Problems with write.nexus of the package "ape"

2013-07-03 Thread Agus Camacho
Thanks a lot Emmanuel, ill use a different names scheme. 2013/7/3 Emmanuel Paradis > Hi Agus, > > The problem is that spaces are ignored in Newick and NEXUS files. Maybe > you do not need to replace "_" for " " ? > > Best, > > Emmanuel > > Le 29/06/2013 15:15, Agus Camacho a écrit : > >> Dear a