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

Lollipop plots in group comparison page shows mutations for two or more groups #4392

Merged
merged 11 commits into from
Nov 8, 2022

Conversation

gblaih
Copy link
Contributor

@gblaih gblaih commented Oct 10, 2022

Implement issue cBioPortal/GSoC#88

@gblaih gblaih force-pushed the group-comparison-lollipop-plot branch from 20b4ea6 to c2c5fe2 Compare October 13, 2022 21:22
@gblaih gblaih force-pushed the group-comparison-lollipop-plot branch from daf9f10 to 7f2cfe9 Compare October 24, 2022 18:54
src/globalStyles/global.scss Outdated Show resolved Hide resolved
src/pages/groupComparison/AxisScaleSwitch.tsx Outdated Show resolved Hide resolved
src/pages/groupComparison/PercentToggle.tsx Outdated Show resolved Hide resolved
src/pages/groupComparison/GroupComparisonStore.ts Outdated Show resolved Hide resolved
src/pages/groupComparison/GroupComparisonStore.ts Outdated Show resolved Hide resolved
src/pages/groupComparison/GroupComparisonStore.ts Outdated Show resolved Hide resolved
@onursumer
Copy link
Member

@alisman @gblaih we want to enable this feature for the results view page Comparison/Survival Tab as well, right? I think it is only enabled for the standalone comparison page for now.

});

readonly profiledSamplesCount = remoteData({
await: () => [this.allSamples, this.coverageInformation],
Copy link
Collaborator

Choose a reason for hiding this comment

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

@inodb @onursumer i don't understand why the denominator is all samples here. that's all samples in ALL studies which are present here.

Copy link
Member

Choose a reason for hiding this comment

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

I think the idea here is to display the frequency of this mutation in the entire cohort. So, we need to find all samples profiled for this gene.

src/globalStyles/global.scss Outdated Show resolved Hide resolved
src/pages/groupComparison/LollipopTooltipCountInfo.tsx Outdated Show resolved Hide resolved
@@ -1060,6 +1068,24 @@ export default abstract class ComparisonStore
},
});

@computed get genesWithMaxFrequency(): AlterationEnrichmentRow[] {
Copy link
Member

Choose a reason for hiding this comment

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

This is taken from another incomplete PR, but I think the function name is not ideal. We are returning an array of AlterationEnrichmentRow and calling it genesWithMaxFrequency

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

Successfully merging this pull request may close these issues.

3 participants