You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hiya! I've used updateData(data) to update a heatmap, and now I'm trying to do so with a Manhattan scatter plot. I have a selector that determines which data to plot, and I use a function to generate the plot, including the default when the page is first loaded. Here's how I'm updating the canvas:
// create/update the CanvasXpress object
var cx = CanvasXpress.$('canvasx');
if (cx==null) {
cx = new CanvasXpress('canvasx', data, conf, evts);
} else {
cx.updateData(data);
}
The initial plot created with the constructor is fine (first attached image). However, when I change the selection, updateData() leaves a blue spinner on the plot, with no plotted data, and the legend gets "-log10(p) vs Manhattan" appended (second attached image). It seems like a bug! I've pasted the data, conf, evts below with the two data options.
Note: I also need to update conf because the chromosome lengths change, but that's a separate issue. I'd be fine with blowing away the canvasx object and replacing it, if that's an option. I get Javasacript errors when I simply try to replace it with a new constructor call.
Hiya! I've used updateData(data) to update a heatmap, and now I'm trying to do so with a Manhattan scatter plot. I have a selector that determines which data to plot, and I use a function to generate the plot, including the default when the page is first loaded. Here's how I'm updating the canvas:
The initial plot created with the constructor is fine (first attached image). However, when I change the selection, updateData() leaves a blue spinner on the plot, with no plotted data, and the legend gets "-log10(p) vs Manhattan" appended (second attached image). It seems like a bug! I've pasted the data, conf, evts below with the two data options.
The text was updated successfully, but these errors were encountered: