Thanks so much. That’s perfect. I will update my question at
https://www.biostars.org/p/294222/ so it is documented somewhere.
Cheers
Yan
On 20 Jan 2018, at 16:08, Emmanuel Paradis wrote:
> Hi,
>
> To get a tree with a basal multichotomy as a rooted tree, you have to set its
> root edge:
>
Hi,
To get a tree with a basal multichotomy as a rooted tree, you have to
set its root edge:
R> tr <- read.tree(text = "(A,B,(C,D));")
R> is.rooted(tr)
[1] FALSE
R> tr$root.edge <- 0
R> is.rooted(tr)
[1] TRUE
This could be done directly in the Newick string:
R> tr <- read.tree(text = "(A,B,(