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

Remove extra log calculation for Log Ratio #1261

Merged
merged 1 commit into from
Jun 21, 2018

Conversation

ersinciftci
Copy link
Contributor

As mentioned in cBioPortal/cbioportal#4374
Also fixes tooltip positions (probably broke after some style changes)

@ersinciftci ersinciftci requested a review from alisman June 21, 2018 14:47
ExpressionEnrichmentRow[] {

const assumeLogSpace = expressionEnrichments.filter(a => a.meanExpressionInAlteredGroup <= 0
|| a.meanExpressionInUnalteredGroup <= 0).length > 0;

return expressionEnrichments.map(expressionEnrichment => {
return {
checked: gueryGenes.includes(expressionEnrichment.hugoGeneSymbol),
Copy link
Collaborator

Choose a reason for hiding this comment

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

should it be "queryGenes" ?

Copy link
Contributor Author

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}
Copy link
Collaborator

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.

Copy link
Collaborator

@alisman alisman left a 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

@ersinciftci ersinciftci merged commit df4fe95 into cBioPortal:master Jun 21, 2018
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.

2 participants