empress icon indicating copy to clipboard operation
empress copied to clipboard

Support discretization as an alternative to continuous coloring

Open fedarko opened this issue 2 years ago • 0 comments

Just to track this as a separate feature, independent of #521.

From @mortonjt in https://github.com/biocore/empress/issues/521#issuecomment-1128942024:

But I do want to note that discretizing colors in heatmaps is actually the recommended practice for visualization. If you look at any COVID heatmap, all of the reported journals have discretized colors

This one is from NPR

image

And this one is from Mayo clinic image

So when thinking through these use cases, I wouldn't recommend completely throwing out the idea of discretizing continuously value quantities.

From @kwcantrell:

Thats a good idea! We can create a UI to easily enable discretizing continuously valued quantities. I think it would also be nice to upload a json that can set different parameters.

From @antgonza:

If we are rethinking coloring (which might also help in Emperor); AFAIK both tools share background design ... what about allowing (via the GUI) to split the values in quartiles or deciles?

From @kwcantrell:

Thats kinda what I was thinking. We can add a 'buckets' option were users can define how many discrete regions they want and also define the bounds of the regions.

fedarko avatar May 18 '22 00:05 fedarko