-
Notifications
You must be signed in to change notification settings - Fork 6
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
Plotting large (400 taxa) trees with VisualizeMatching #124
Comments
These are large trees! What is your desired outcome in visualizing the matching? Presumably inspecting all 400 matched clades is going to yield limited information, or at the very least be difficult to interpret. Is there a subset of clades you are particularly interested in matching, for example? |
I'd like to see which internal branches are incongruent between a known good tree and another tree. I am following this example here: https://ms609.github.io/TreeDist/articles/using-distances.html#testing-similarity-to-a-known-tree For big trees there are a few things that would be great to control:
I hacked together a solution that gets about 80% of the way there by modifying Here's the modified function:
I can submit a pull request with the above changes (with some modification to be more customisable) if you think it's acceptable. |
Alternatively, is there a way to find which internal branches differ (have low score) between two trees and which taxa are affected? |
#125 follows up on your suggestions by:
Thus you can review the contributions of individual matched splits with matching <- VisualizeMatching(SharedPhylogeneticInfo, tree1, tree2)
attr(matching, "matchedScores") I hope this helps you to make the best use of the function! |
Amazing thank you. Once it's merged I'll give it a go. Feel free to close this issue. |
Hi @ms609
Thanks for the fantastic R package, it's been great to work with.
One issue I am facing is that I'd like to compare 2 trees with identical taxa. When using
VisualizeMatching
to compare these two trees the result is not great:Could you provide advice on how to plot large trees?
Thanks,
Ammar
The text was updated successfully, but these errors were encountered: