Wednesday, July 17, 2013

Bug in rerootingMethod for tree with node labels

I recently learned that the function rerootingMethod breaks for trees with node labels. This seems to be due to a bug in an internally called function, not in rerootingMethod itself and can be eliminated by just setting:

> tree$node.label<-NULL

That's it.

No comments:

Post a Comment