smarty icon indicating copy to clipboard operation
smarty copied to clipboard

Add visualization of parent hierarchy [low priority]

Open bannanc opened this issue 9 years ago • 7 comments

Add an optional visualization for the parent hierarchy of atom types. Parent dictionary should be able to be used to recreate this tree. Here is a conda installable module that might be useful: http://etetoolkit.org/docs/2.3/tutorial/tutorial_drawing.html

This is a low priority for now, but will be helpful in the future.

bannanc avatar Jul 05 '16 17:07 bannanc

For the record, it may be helpful soon to have this along with the "score versus time" plots in #78 in order to understand why the score is changing when it does, at least for selected transitions. Clearly once we move to the ZINC parm@frosst set it's going to be very tricky to extract any useful insight from just browsing the log file, so being able to visualize the tree at points throughout the trajectory may be helpful.

davidlmobley avatar Jul 25 '16 23:07 davidlmobley

I have this as a todo on my list right now, because I think we would like to have nice figures of these for the paper. I'll likely add whatever I come up with to the score_utils methods

bannanc avatar Feb 17 '17 00:02 bannanc

I really like the style of the color wheel/tree just below the header "Node backgrounds"; not sure if it would work here, but I'm imagining something where the wheel is colored by element and different legs are labeled with their SMARTS/SMIRKS could be really cool if it could be made to work. Possibly too much trouble than it's worth to try and go with that layout (as opposed to a simple tree) though...

davidlmobley avatar Feb 17 '17 05:02 davidlmobley

I'm working on this currently, I'm not sure how easy it will be to automate this process, but I have an ipython notebook generally showing how to do this in branch issue46 which has a work in progress pull request #214

bannanc avatar Feb 21 '17 20:02 bannanc

I have some examples from this that I should put in utilities so other people can use it. I'll add cleaning up this notebook to my to do list and add it here.

bannanc avatar May 25 '17 22:05 bannanc

The conda-installable networkx package can make circular tree plots, though I also came across a really nice example for making circular trees with d3.js using Python.

jchodera avatar May 25 '17 23:05 jchodera

That is nice too, I used ete2 (linked above) to make the color coded circular plot David had in his ACS talk

bannanc avatar May 26 '17 00:05 bannanc