Hi all, I am getting an error that I do not understand when trying to combine two trees. More specifically, my goal is to insert a single taxon into an existing tree. The problem that I am getting is illustrated as follows
### library(ape) tr1<-read.tree(text="(B:6.0,(A:5.0,C:3.0,E:4.0):5.0,D:11.0);") tr2<-read.tree(text="(A1:.5);") result<-bind.tree(x=tr1,y=tr2,where=1,pos=.5) ### The resulting error message is "Error in y$edge[, 1] : incorrect number of dimensions". But tr2 definitely has a column 1, so y$edge[, 1] should have no problem evaluating. Any help would be greatly appreciated Andrew Barr University of Texas at Austin _______________________________________________ R-sig-phylo mailing list R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo