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

Feature request: diagonal lines and coordinates at cursor #41

Open
maickrau opened this issue Feb 4, 2025 · 1 comment
Open

Feature request: diagonal lines and coordinates at cursor #41

maickrau opened this issue Feb 4, 2025 · 1 comment

Comments

@maickrau
Copy link

maickrau commented Feb 4, 2025

Hi,

Thanks for the program, it's working well. I'd like to have two features in the interactive visualization which would help with looking at tandem repeats. First is diagonal lines around the cursor similarly to the currently existing horizontal and vertical lines, and second is showing the x/y coordinates of the cursor along the axis. Here's an example, first a screenshot of how it currently looks:

Image

and then here's a sketch of how the diagonal lines and x/y coordinates would look:

Image

This would especially help with tandem repeats which have multiple copies of a short motif like the top left part of the picture

@alexsweeten
Copy link
Member

Thanks @maickrau !

Unfortunately displaying the x/y coordinates is a bit tricky: Dash only allows one data point to be displayed on-hover, which is currently displaying the identity value. I might be able to hack a solution into the next ModDotPlot update, along with providing an option to rotate the cursor lines by 90 degrees.

Not sure if this will help for your purposes, but clicking on your region of interest will log the interval and identity value which you can save for multiple points.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants