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

Fix incorrect mutation frequency in group comparison lollipop plot #4432

Merged

Conversation

gblaih
Copy link
Contributor

@gblaih gblaih commented Nov 29, 2022

Fixes issue in cBioPortal/cbioportal#9901

  • Corrects frequency on lollipop

@gblaih gblaih requested a review from alisman November 29, 2022 21:07
100
: countUniqueMutations(mutations);
}

@action.bound
private onScaleToggle(selectedScale: AxisScale) {
this.props.urlWrapper.updateURL({
Copy link
Collaborator

Choose a reason for hiding this comment

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

if we we are updaing the url then we shouldn't need to also need the local (this.axisMode). That hsould instead be derived from the url

[groupUid: string]: Sample[];
} = {};
for (const group of groups) {
for (const studyObject of group.studies) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

studyObj = study?

@alisman
Copy link
Collaborator

alisman commented Nov 30, 2022

@gblaih the frequency fix should be in it's own PR

@gblaih gblaih force-pushed the group-comparison-lollipop-plot-frequency branch from 33872dd to dae988c Compare December 1, 2022 15:45
@gblaih gblaih changed the title Fix incorrect mutation frequency and capture current scale in URL in group comparison lollipop plot Fix incorrect mutation frequency in group comparison lollipop plot Dec 1, 2022
@alisman alisman merged commit c6a9550 into cBioPortal:master Dec 1, 2022
@dippindots dippindots added the bug label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants