Skip to content
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

Zoom/Crop into selection via brush selection #11

Open
cornhundred opened this issue Jun 4, 2019 · 0 comments
Open

Zoom/Crop into selection via brush selection #11

cornhundred opened this issue Jun 4, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cornhundred
Copy link
Contributor

cornhundred commented Jun 4, 2019

Allow users to selection section of the heatmap to zoom into.

Do not actually crop into this section, but just zoom in. Need to be careful about tracking zoom with this function. Also, improve camera resetting, ideally reset camera after zooming/panning event is over.

I'm going to probably just make this work through cropping. I'll build a general method to remake the entire viz based on filtering for an arbitrary set of rows/columns (dendrogram will not be shown, rearrange buttons will either be deactivated or reflect on-the-fly calculations). This general filter network method will be built off this method (https://github.com/MaayanLab/clustergrammer/blob/master/src/network/filter_network_using_new_nodes.js) and will be generalized to support dendrogram cropping, crop to zoomed area, and zoom into selection.

  • get arbitrary network row/col filtering working
  • set up SVG brush crop similar to brush_crop_matrix
    • need to do the algebra to find selected rows/cols on brushing
@cornhundred cornhundred self-assigned this Jun 4, 2019
@cornhundred cornhundred added enhancement New feature or request help wanted Extra attention is needed labels Jun 11, 2019
@cornhundred cornhundred changed the title Zoom into selection (similar to crop to zoom) Zoom/Crop into selection via brush selection Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant