Add threshold comparison above arrow in plot_tree
See original GitHub issueI realised after #13971 and also a lecture that I gave that we don’t add “True/False”, “Yes/No” above the arrow in plot_tree
. Therefore, we know the criterion for the decision and the further splits but we don’t have any idea what path a sample will take (or at least it makes it more difficult to infer it).
I think that we should annotate the arrow depending if the comparison in the node is True/False.
@amueller @NicolasHug @thomasjpfan WDYT?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Phylogenetic Tools for Comparative Biology (and Other Things)
add.arrow, Add an arrow pointing to a tip or node on the tree ... ancThresh, Ancestral character estimation under the threshold model using...
Read more >phytools.pdf
A broad range of plotting methods for phylogenies and comparative data in- clude, but are not restricted to, methods for mapping trait evolution ......
Read more >Visualizing and Annotating Phylogenetic Trees with R+ggtree
The horizontal dimension in this plot shows the amount of genetic change, and the branches and represent evolutionary lineages changing over time.
Read more >Chapter 5 Phylogenetic Tree Annotation | Data Integration ...
geom_inset, Adds insets (subplots) to tree nodes ... Some evolutionary events (e.g., reassortment, horizontal gene transfer) cannot be modeled by a simple ...
Read more >Add an arrow pointing to a tip or node on the tree in phytools
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223. See Also.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found an interesting insight to above issue:
When using
plot_tree()
, it does not show the “True”/“False” labels for the threshold:But the “True”/“False” labels will be printed when using
export_graphviz()
:Seems like
export_graphviz()
is creating “True”/“False” labels for the first condition, butplot_tree()
does not.Go for it
On Mon, 27 Jan 2020 at 14:32, Rick Mackenbach notifications@github.com wrote:
– Guillaume Lemaitre Scikit-learn @ Inria Foundation https://glemaitre.github.io/