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

GC - use new group label components for overlap tab and survival tab #2526

Merged
merged 3 commits into from
Jul 12, 2019

Conversation

adamabeshouse
Copy link
Contributor

@adamabeshouse adamabeshouse commented Jul 8, 2019

@adamabeshouse adamabeshouse requested a review from jjgao July 8, 2019 22:45
@jjgao jjgao temporarily deployed to cbioportal-frontend-pr-2526 July 9, 2019 02:20 Inactive
@jjgao
Copy link
Member

jjgao commented Jul 9, 2019

@adamabeshouse looks good overall. For UpSet plot, I am wondering if it's possible (and looks good) to just add a colored square before the group name?

@adamabeshouse
Copy link
Contributor Author

adamabeshouse commented Jul 9, 2019

@jjgao how does this look?
image

If you like it, then should we use this new style also for the clinical tab ticks, and for anywhere else where we show color? Or go with the color on the ordinal?

@jjgao
Copy link
Member

jjgao commented Jul 10, 2019

@adamabeshouse I like the square version. Maybe don't worry about the ticks in clinical tab and I think other tabs look good.

@jjgao jjgao temporarily deployed to cbioportal-frontend-pr-2526 July 10, 2019 15:48 Inactive
@jjgao jjgao temporarily deployed to cbioportal-frontend-pr-2526 July 10, 2019 16:43 Inactive
@jjgao jjgao temporarily deployed to cbioportal-frontend-pr-2526 July 10, 2019 23:26 Inactive
@jjgao jjgao temporarily deployed to cbioportal-frontend-pr-2526 July 11, 2019 18:18 Inactive
@jjgao jjgao temporarily deployed to cbioportal-frontend-pr-2526 July 11, 2019 21:30 Inactive
@@ -75,7 +79,7 @@ export default class Survival extends React.Component<ISurvivalProps, {}> {
name,
color: blendColors(partitionGroupUids.map(uid => uidToGroup[uid].color)),
value,
legendText: name
legendText: JSON.stringify(partitionGroupUids),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just want to confirm this is intended

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes its a bit weird but that's how I'm passing it through the system I have rigged up

Abeshouse, Adam A./Sloan Kettering Institute added 3 commits July 12, 2019 16:57
Signed-off-by: Abeshouse, Adam A./Sloan Kettering Institute <abeshoua@mskcc.org>
Signed-off-by: Abeshouse, Adam A./Sloan Kettering Institute <abeshoua@mskcc.org>
Signed-off-by: Abeshouse, Adam A./Sloan Kettering Institute <abeshoua@mskcc.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants