Re: [R-sig-phylo] a question about pic function(ape package)

2011-07-11 Thread Liam J. Revell
Hi. This is because your tree is not fully dichotomous. > tree<-read.nexus(file="tree.nex") > is.binary.tree(tree) [1] FALSE You can resolve multifurcations with branches of zero length using multi2di(), e.g.: > tree<-multi2di(tree) > is.binary.tree(tree) [1] TRUE Hope this helps. - Liam

[R-sig-phylo] a question about pic function(ape package)

2011-07-11 Thread 沈勇
dear all, I have a question when I used the pic funtion, it appeared an error:"'phy' is not rooted and fully dichotomous", I don't understand what's the problem, the attached file is my phylogenetic information, please check it, I am sorry to trouble you all, but I really want to solve this