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
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
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