-
Notifications
You must be signed in to change notification settings - Fork 498
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
OncoPrint tooltip needs to indicate the altered gene in merged tracks #4493
Comments
@fedde-s would you be able to help with this? |
This seems to be more of a feature request than a refactoring. |
We designed it this way because the information on whether each individual gene is altered can be accessed by expanding the track (via the ⫶ track menu). Although for these sequence mutations, I agree that referencing the glycine at position 13 doesn't make a lot of sense. |
I think the point is not having to expand the track - the tooltip should show which gene the mutations was found in. |
Would that be only the most ‘significant’ alteration of a type, that determines the colour, or possibly a list of several genes that are all amplified? Currently the tooltips show all alterations relevant to a square, just like a single-gene square that displays alterations for all of a patient's samples would do. |
The question I just asked might be a separate issue. Prepending the gene to each alteration is a pretty clear requirement. Although by “always show the gene symbol,” do you mean being consistent and doing that for single-gene tracks as well? |
@fedde-s I think it'd be important to have the gene displayed. We missed it when reviewing it initially. Can you still help? |
@jjgao @schultzn it should be a very simple change. the tooltip generating function has access to the full mutation object which includes the gene. it wont take more than a few minutes of work, if you just want to show the gene for every mutation in the list (and we should also do this for other alterations, i.e. mrna, prot, cna). it would probably make sense only to show it in merged tracks, right? |
Nice! I didn't remember the code well enough off the top of my head to know whether it would be trivial or slightly awkward. But indeed, the question still stands. Consistently for all tooltips, only for merged tracks, or consistently within Oncoprints that contain at least one merged track. The last option is probably the trickiest to implement. |
It may be ok to always include gene symbol in the tooltip. @schultzn? |
Yes, I think so!
… On Jul 24, 2018, at 12:12 PM, JianJiong Gao ***@***.***> wrote:
It may be ok to always include gene symbol in the tooltip. @schultzn <https://github.com/schultzn>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#4493 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ALV34APVwGpDtXIpnHgLELLF3KUDj0MGks5uJ0d-gaJpZM4VbAhE>.
|
Could you make the PR, @adamabeshouse? I'm a bit busy at the moment, and you seem to recall exactly which line of code to change :) |
@adamabeshouse thanks for the fix. Please also apply this to other data types (CNA, mRNA, protein). Please also add a space after comma (,). |
In a merged OncoPrint track, the tooltip should indicate which gene is altered.
We can consider to always show the gene symbol to make things simpler?
The text was updated successfully, but these errors were encountered: