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

Histogram with tooltip? #344

Open
jdhayhurst opened this issue Apr 14, 2023 · 2 comments
Open

Histogram with tooltip? #344

jdhayhurst opened this issue Apr 14, 2023 · 2 comments

Comments

@jdhayhurst
Copy link

Hi, great work on the ideogram library!

Is it possible to have tooltips in the histogram layout?
Currently, the tooltips work well with the annotation shapes layout, but it would useful to be able to view at least the coordinates and count as a tooltip in the histogram layout.

Thanks!

@eweitz
Copy link
Owner

eweitz commented Apr 19, 2023

Neat idea, @jdhayhurst! Could you give an example use case of how this would be valuable?

@jdhayhurst
Copy link
Author

Hey @eweitz!

An example use case for us is that we would like to visualise where on the genome has the most genome wide associations for a given trait (after filtering by significance and combining from multiple GWAS). Users can see roughly where on the genome has the most GWA (annotations) in the histogram view but in order to ask further questions they require more information. With the tooltip, more information about regions/bars of interests can be displayed by hovering their mouse over a bar. The tooltip would display the genomic region that the bar covers and a count of the annotations (magnitude of bar), and ideally a customisable summary/aggregation of the annotation data/metadata.

I'd love to know if this is at all possible.

Thanks!

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