Hi,
This is a known feature of read.nexus(), see ape's FAQ:
http://ape-package.ird.fr/ape_faq.html#Bayestrees
This explains how to fix the problem.
Best,
Emmanuel
Le 04/01/2017 à 14:46, Yan Wong a écrit :
If I create a test.nex file as follows:
#NEXUS
BEGIN TREES;
TRANSLATE
0 0,
1 1,
2 2,
3 3,
4 4,
5 5,
6 6,
7 7;
TREE test = (((3,5),(4,6)),(0,(2,(1,7))));
END;
And then attempt to do
plot(read.nexus("test.nex"))
I get
Error in plot.phylo(m) :
tree badly conformed; cannot plot. Check the edge matrix.
It works fine if I start indexing tips at 1.
Yan
_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/
Pour nous remonter une erreur de filtrage, veuillez vous rendre ici :
http://f.security-mail.net/3010nZ2hH3V
_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/