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

Gene symbol visibility when zooming in close enough #216

Open
tuner opened this issue Jan 3, 2024 · 0 comments
Open

Gene symbol visibility when zooming in close enough #216

tuner opened this issue Jan 3, 2024 · 0 comments
Labels
core Related to the Core package enhancement New feature or request

Comments

@tuner
Copy link
Member

tuner commented Jan 3, 2024

The fancy semantic zooming is wonderful ... until one zooms close enough. The gene symbol disappears:

Where.s.the.symbol.mov

The disappearing gene symbol hasn't been an issue so far, as we have been mostly interested in relatively large aberrations, such as copy-number segments, where the exact breakpoint has not been that important. This changes now that we are working with structural variants.

The problem could be solved by using ranged text. But ... the arrow (a "point" mark) would get detached from the symbol text. Implementing secondary coordinates for point mark solely for this use case would be a way too ugly hack.

This could probably be solved by using some transform (like #160) that adjusts the linearized genomic coordinates so that the data objects stay within the viewport, behaving similarly to ranged text.

Edit: As text lengths are measured in pixels, this, in practice, needs ranges to be specified as pixels. Now we have unit ranges [0, 1]. #205 and #207 will help here.

@tuner tuner added enhancement New feature or request core Related to the Core package labels Jan 3, 2024
@tuner tuner changed the title Gene symbol visibility when zooming close enough Gene symbol visibility when zooming in close enough Jan 11, 2024
@tuner tuner added this to the Methylation project milestone Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to the Core package enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant