how to recenter diverging color scheme
hi there,
This is a "how do I do this" question. Or perhaps it's a "please add this feature" question - not sure if what I want to do is currently possible. Couldn't find it in the docs - apologies in advance if I simply missed it.
I have a plot I made with computeMatrix and then plotHeatmap --colorList lavender,white,blue.
The z-values on my plot range from -50 to +150. The z-midpoint is therefore +50 and the white of the colorList gets assigned to +50.
Is there a way to recenter the color scheme to assign the midpoint color to 0 value? I can do it after the fact if I look at the z scale, replot so that zmin and zmax are symmetric around 0 - that works. But a 1-step thing would be nice (and it'd be nice to have the legend show -50 to 150 rather than -150 to +150
thanks!
Janet