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

--
Liam J. Revell
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: liam.rev...@umb.edu
blog: http://phytools.blogspot.com

On 7/11/2011 10:44 PM, ???? wrote:
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 problem in my study, thanks a lot.
best wishes to you all!




_______________________________________________
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo

_______________________________________________
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo

Reply via email to