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

option to add gaps between different groups based on clinical attribute #3336

Closed
jjgao opened this issue Nov 9, 2017 · 19 comments · Fixed by cBioPortal/cbioportal-frontend#2926

Comments

@jjgao
Copy link
Member

jjgao commented Nov 9, 2017

I found people like to add a space between different groups when sorting by a clinical attribute. Maybe we can implement that?

image

@adamabeshouse
Copy link
Contributor

this wouldn't be too hard to implement. what would be a good UI for this?

@jjgao
Copy link
Member Author

jjgao commented Nov 10, 2017

Maybe add another checkbox under View: Show whitespace between sorted clinical groups?

image

@adamabeshouse
Copy link
Contributor

That's a good idea, so if it's not sorted then there's no effect. That sounds good to me.

@jjgao
Copy link
Member Author

jjgao commented Nov 10, 2017

yes.

@adamabeshouse
Copy link
Contributor

let's leave this until after 1.11?

@schultzn
Copy link
Contributor

schultzn commented Nov 11, 2017 via email

@jjgao
Copy link
Member Author

jjgao commented Nov 16, 2017

@adamabeshouse yes, we can do this later.

@adamabeshouse
Copy link
Contributor

one question is what if you are sorting by more than one clinical attribute? would it only be the topmost track? or maybe the bottommost? also im assuming this would only be for categorical data?

@jjgao
Copy link
Member Author

jjgao commented Nov 16, 2017

Good question. Maybe the bottommost (which basically means all sorted tracks, right?) and see how it looks like?

Yes, only for categorical data.

@adamabeshouse
Copy link
Contributor

adamabeshouse commented Nov 16, 2017

I think the utility could depend...

Topmost makes sense to me because that most cleanly defines categories. The sort order is determined top to bottom, so if you have it as the bottommost sorted track then the categories will be split up more, which doesnt seem to be the main thrust of this feature.

Although now I'm noticing in the screenshot that it splits on the bottom track as well, but it doesnt split the bottom "clinical" track. So that could be good too - split on all clinical tracks but dont split up the clinical tracks, only the genetic and heatmap.

@adamabeshouse
Copy link
Contributor

adamabeshouse commented Aug 14, 2018

maybe the best way to do this would be as an option in the clinical track menus? to toggle splitting for a particular track. that way there is no confusion about track order

@jjgao
Copy link
Member Author

jjgao commented Aug 14, 2018

@adamabeshouse great idea!

@adamabeshouse
Copy link
Contributor

@jjgao @schultzn do we still want to do this?

@schultzn
Copy link
Contributor

schultzn commented Nov 25, 2019 via email

@adamabeshouse
Copy link
Contributor

adamabeshouse commented Dec 4, 2019

@schultzn @jjgao

I have a preliminary implementation:

image

image

image

image

a few questions now..

  1. are the gaps big enough?
  2. how do you think the gaps should react with the zoom? should they zoom or stay the same size?
  3. should I disable the option when the track is not sorted, or just change the text to say "show gaps when sorted"? or any other text?
  4. should it be possible to show gaps based on more than one track?

@schultzn
Copy link
Contributor

schultzn commented Dec 4, 2019

Looks great!
1 - yes, gaps look big enough
2 - they should probably stay the same size when zooming
3 - when grouping by the track, maybe automatically sort?
4 - a single track is probably enough

@inodb
Copy link
Member

inodb commented Dec 4, 2019

Hey this is really cool! I was wondering, maybe a separate issue. Would it make sense to add oncoprint to the group comparison page? Then each group could be separated by these gaps

@adamabeshouse
Copy link
Contributor

adamabeshouse commented Dec 4, 2019

do we want the gaps to be reflected in the mini map? @schultzn @jjgao

image

@adamabeshouse adamabeshouse added this to the Sprint 6 Y2020 milestone Feb 7, 2020
@adamabeshouse adamabeshouse changed the title option to add gaps between different groups based on clinical attribute needs product review [option to add gaps between different groups based on clinical attribute] Feb 7, 2020
@adamabeshouse adamabeshouse changed the title needs product review [option to add gaps between different groups based on clinical attribute] needs product testing [option to add gaps between different groups based on clinical attribute] Feb 7, 2020
@jjgao
Copy link
Member Author

jjgao commented Feb 17, 2020

do we want the gaps to be reflected in the mini map?

Sorry this question fell between the cracks. I don't think it's very important so I whichever is easy from an implementation perspective.

@inodb inodb assigned adamabeshouse and unassigned jjgao Feb 18, 2020
@inodb inodb modified the milestones: Sprint 7 Y2020, Sprint 8 Y2020 Feb 18, 2020
@adamabeshouse adamabeshouse changed the title needs product testing [option to add gaps between different groups based on clinical attribute] option to add gaps between different groups based on clinical attribute Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment