-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding annotation to trees is not possible because of the lack of edge lengths #120
Comments
Hi, I have the same problem than you, there is no branch length, so I can't see all the nearer species among others. Dis you find a solution or at least download another tree of life with the branch length. Thank you |
The trees returned by the Open Tree of Life do not have branch lengths. These trees are only intended to show the relationships and do not include a measure of evolutionary distance. You could add arbitrary branch lengths to the trees so they can be plotted with phylobase. The ape package allows you to plot trees with no branch lengths. |
this is not an issue with rotl per se, closing. |
@lhgergo @ArthurPERE TimeTree also provides a frozen version of a 50k species tree here: Doesn't take long to read in either: tr <- ape::read.tree(file = "http://www.timetree.org/public/data/TimetreeOfLife2015.nwk") Can't seem to find any API documentation for TimeTree, but if I can I'll build it into |
Hi!
I have some taxon-specific data, that I'd like to map on the synthetic tree, that I could get by using the tol_induced_subtree(ott_ids) expression. The ott_ids are the following:
Everything had been working fine until I tried to add a given annotation to the tree, using the described method in "Connect your data to the tips of your tree" section of the vignette. When I tried to plot the results using phylo4d I got the following error message:
I also got a plot, containing species names and the annotations, but the tree is missing from the plot.
I've found that in the tree object, produced by tol_induced_subtree() an element edge.length is missing. This was the only difference I found when I compared my dataset to working examples found online. Why is this missing from my object, and how could I solve the problem? Or is it a bug?
Thanks!
The text was updated successfully, but these errors were encountered: