Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Add colorization switch #146

Closed
fedarko opened this issue Jan 25, 2017 · 1 comment
Closed

Add colorization switch #146

fedarko opened this issue Jan 25, 2017 · 1 comment
Assignees

Comments

@fedarko
Copy link
Owner

fedarko commented Jan 25, 2017

So the user could selectively color by G/C content, depth, or ostensibly any other number of features.

On the UI side this could really just be a series of radio buttons ("none", "by G/C content", "by depth"), combined with a tool to pick the extreme colors accordingly (maybe just two input boxes for two hex colors).

Programmatically, adjusting this stuff shouldn't be that hard. The most difficult part will likely be algorithmically defining the gradients between two arbitrary colors, since I forget how I did that between red and blue (...but it shouldn't be too hard to figure it out).

Also, we should disable the radio button(s) for which the assembly graph has no data -- if no colorization fields are given, potentially just disable the entire selection area.

@fedarko fedarko self-assigned this Jan 25, 2017
@fedarko
Copy link
Owner Author

fedarko commented Feb 13, 2017

for now it should be alright to just have two radio buttons -- "none" and "G/C content". should be simple to implement. would changes take effect upon redrawing the graph? either way, just be explicit.

fedarko added a commit that referenced this issue May 2, 2017
More distinguishable from the G/C colorized nodes.

Of course, #146 will eventually render this moot but this is an ok
change for the time being
@fedarko fedarko closed this as completed in 8e52064 Jun 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant