-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/164403270 sync tsnes with legend #22
base: master
Are you sure you want to change the base?
Conversation
new component to render filtered tSNE plot
Pull Request Test Coverage Report for Build 322
💛 - Coveralls |
| symbolHeight: 5, | ||
| symbolWidth: 450 | ||
| }, | ||
| plotOptions: { |
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 spot! This component used to have plot options, but it looks like a was a little overzealous last time I modified the tooltip, and left behind some invalid Highcharts options (see line 91). Could you remove them so we don't have invalid options lying around?
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.
Yes. This plotOptions I added is to make all points same style after gene expression json payload is clustered into multiple series as well. I cannot access the line 91 by the link. Where is the invalid Highcharts options you would like to remove?
src/GeneExpressionTSnePlot.js
Outdated
| series={_colourizeExpressionLevel(expressionGradientColours, highlightClusters, props.cluster)(plotData)} | ||
| highchartsConfig={highchartsConfig} | ||
| loading={loading} | ||
| eventEmitter={props.eventEmitter} |
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.
Please add eventEmitter to const { } = props on line 61.
This feature branch is implemented to synch cluster and gene expression tSNE plots by clicking the cluster's legend. The json payload for gene expression is fetched from new endpoints introduced in atlas. As we can not set react states directly from the highcharts event function, we use the nodejs
eventEmitterto pass the legend's name and visibility to the scatter plots.