Closed jamiewaese closed 11 years ago
Working on it. I think the user should be given a prompt to confirm the transition after double clicking the gene label. I imagine it would be easy to accidentally double click it.
I fixed chromosome position to pixel mapping, now it should be very accurate. For these gene name labels, I'm thinking of sharing its system with annotation whiskers, except these gene name labels would have fixed color (grey) and width (maybe 1.2 the width of chromosome). I think this would simplify the code a bit since this will avoid creating two separate sets of codes for two similar functions.
As for stacking labels, it will be slightly complicated to do computationally, I'll need some time. Also, what if there are too many genes selected such that even stacking them won't fit? It seems to me that stacking is really just stealing space from unselected genes :P
True. Perhaps we shouldn't bother with stacking on this version.
How about another approach -- if multiple labels are overlapping we display a label that says "multiple" or whatever, then if the user clicks on that the gene list popup appears.
On Oct 6, 2013, at 12:32 PM, Hans Yu notifications@github.com wrote:
I fixed chromosome position to pixel mapping, now it should be very accurate. For these gene name labels, I'm thinking of sharing its system with annotation whiskers, except these gene name labels would have fixed color (grey) and width (maybe 1.2 the width of chromosome). I think this would simplify the code a bit since this will avoid creating two separate sets of codes for two similar functions.
As for stacking labels, it will be slightly complicated to do computationally, I'll need some time. Also, what if there are too many genes selected such that even stacking them won't fit? It seems to me that stacking is really just stealing space from unselected genes :P
— Reply to this email directly or view it on GitHub.
Can we leave out the gene aliases on the label? I think it will look cleaner with just AGI, since they are all equally wide. The user can just mouse over the AGI to see the aliases. If you would like the aliases to be shown on the label, please suggest a good place to put them (under the AGI? beside the AGI? etc).
Looks great. I agree, there are too many potential aliases to show.
On 2013-10-12, at 2:22 PM, Hans Yu notifications@github.com wrote:
Can we leave out the gene aliases on the label? I think it will look cleaner with just AGI, since they are all equally wide. The user can just mouse over the AGI to see the aliases. If you would like the aliases to be shown on the label, please suggest a good place to put them (under the AGI? beside the AGI? etc).
— Reply to this email directly or view it on GitHub.
If there are multiple labels vying for the same piece of real estate, stack them as in the diaqram I sent the other day. Tricky!
These labels will have button-like behavior. A single click should open the annotation popup, with the < pointing at the appropriate region of the chromosome. A double click should trigger the camera to zoom into the gene and transition our view to the GFF Sequence browser we plan to write.