If I am right informed, 'is.binary.tree' cannot test for root
polytomies.
Consider this example:
tree.hiv <- read.tree(text="((rat,mouse,(human,chimp)), kangaroo);")
is.binary.tree(tree.hiv) # will yield 'FALSE'
For further questions you might be better advised to use the 'R-sig-
phylo' mailing list.
________________________________________________________
Christoph Heibl
Systematic Botany
Ludwig-Maximilians-Universität München
Menzinger Str. 67
D-80638 München
GERMANY
phone: +49-(0)89-17861-251
e-mail: [EMAIL PROTECTED]
http://www.christophheibl.de/ch-home.html
On Sep 4, 2008, at 5:27 AM, Gundala Viswanath wrote:
Dear all,
I was testing the wonderful package APE.
However upon testing a particular Newick's format
tree - which I think to be a non-binary tree -
it yields different result as expected.
library(ape)
tree.hiv <- read.tree(text="(rat,mouse,(human,chimp));")
is.binary.tree(tree.hiv)
[1] TRUE
Was that a bug in APE package?
- Gundala Viswanath
Jakarta - Indonesia
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-
guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.