Re: [R-sig-phylo] Midpoint root a tree with root() function ape ver 4.0

2016-12-15 Thread Todd Knutson
Hi Klaus, Actually, I need to apologize to the community. I was wrong — the midpoint() function works perfectly as is! I had built a little example with dummy data that was confusing me. But, I changed my example and now I understand what’s going on. After running the midpoint() function, it

Re: [R-sig-phylo] Midpoint root a tree with root() function ape ver 4.0

2016-12-15 Thread Klaus Schliep
Hi Knud, in phangorn I try to take care that the node labels are assigned to the right nodes after using midpoint, see attached code and pic. It seems to work quite nicely. It would be useful if you could supply a reproducible example or the tree you have problems with and open otherwise an issue

[R-sig-phylo] Midpoint root a tree with root() function ape ver 4.0

2016-12-15 Thread Todd Knutson
Hi, Is there any way to use the updated root() function in ape ver 4.0 to find and set the midpoint root in a tree? I greatly appreciate the updated root() function to include the “edgelabel = TRUE” option, so that when I have bootstrapping support values listed as node labels, they get