I want to open the following nexus file in Figtree: we.tl/t-AYsbwPhOr1
However, I am getting the following error:
"Error reading tree file:
Number format error: For input string: 0.006486150556156645)NODE_0004110
In R, I got the following error:
nexus <- treeio::read.beast(file = "example.nexus")
Error in FUN(X[[i]], ...): numbers of left and right parentheses in Newick string not equal
- treeio::read.beast(file = "example.nexus")
- read.stats_beast_internal(beast, trees)
- read.tree(text = tree)
- lapply(STRING, .treeBuild)
- FUN(X[[i]], ...)
I was not able to identify the problem of the nexus file generated by auspice. Could you give me a clue?
I need the data between the brackets, because I have to color the tree according to the "localidade" variable.