-
Notifications
You must be signed in to change notification settings - Fork 308
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
Remove extra log calculation for Log Ratio #1261
Conversation
ExpressionEnrichmentRow[] { | ||
|
||
const assumeLogSpace = expressionEnrichments.filter(a => a.meanExpressionInAlteredGroup <= 0 | ||
|| a.meanExpressionInUnalteredGroup <= 0).length > 0; | ||
|
||
return expressionEnrichments.map(expressionEnrichment => { | ||
return { | ||
checked: gueryGenes.includes(expressionEnrichment.hugoGeneSymbol), |
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.
should it be "queryGenes" ?
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.
haha yeah, will fix :)
@@ -163,8 +163,8 @@ export default class MiniBoxPlot extends React.Component<IMiniBoxPlotProps, {}> | |||
</VictoryChart> | |||
</div> | |||
{this.tooltipModel && | |||
<Popover positionLeft={this.tooltipModel.x + 22} | |||
positionTop={this.tooltipModel.y - 22} className="cbioTooltip" | |||
<Popover positionLeft={this.tooltipModel.x + 16} |
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.
seems like we should strive to separate this kind of tweak from the logical change above into two commits.
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.
Lets fix the spelling error "gueryGenes" but then good to go
As mentioned in cBioPortal/cbioportal#4374
Also fixes tooltip positions (probably broke after some style changes)