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/

Reply via email to