Skip to content

Binary Tree Testing in "ape" package (a bug?)

2 messages · Gundala Viswanath, Christoph Heibl

#
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.
[1] TRUE

Was that a bug in APE package?

- Gundala Viswanath
Jakarta - Indonesia
#
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:    heibl at lmu.de

http://www.christophheibl.de/ch-home.html
On Sep 4, 2008, at 5:27 AM, Gundala Viswanath wrote: