-
Notifications
You must be signed in to change notification settings - Fork 13
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
AG-1346 GCT bug fix for zero p-values showing wrong circle size #1282
AG-1346 GCT bug fix for zero p-values showing wrong circle size #1282
Conversation
|
||
if (tissue?.adj_p_val) { | ||
size = this.getCircleSize(tissue.adj_p_val); | ||
} | ||
|
||
if (size === 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if circle size is zero, it should have the max size of circle as the p-value is inversely proportional to the size of the circle.
src/app/features/genes/components/gene-comparison-tool/gene-comparison-tool.component.ts
Outdated
Show resolved
Hide resolved
src/app/features/genes/components/gene-comparison-tool/gene-comparison-tool.component.ts
Show resolved
Hide resolved
src/app/features/genes/components/gene-comparison-tool/gene-comparison-tool.component.ts
Show resolved
Hide resolved
src/app/features/genes/components/gene-comparison-tool/gene-comparison-tool.component.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup! The refactored methods are a lot clearer. Just one small question!
tissue ? tissue.logfc : '', | ||
tissue ? tissue.ci_r : '', | ||
tissue ? tissue.ci_l : '', | ||
tissue ? tissue.adj_p_val : '', | ||
tissue?.logfc || '', | ||
tissue?.ci_r || '', | ||
tissue?.ci_l || '', | ||
tissue?.adj_p_val || '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this change intentional? It looks like this may reintroduce the bug fixed in AG-1347
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Not sure why this change didn't merge from AG-1347 but I committed it.
No description provided.