LCSB-BioCore / GigaSOM.jl

Huge-scale, high-performance flow cytometry clustering in Julia
http://git.io/GigaSOM.jl
Apache License 2.0
31 stars 9 forks source link

clim kwarg in expressionPalette or expressionColors #171

Closed gszep closed 3 years ago

gszep commented 3 years ago

I would like to more precisely control the dynamic range of the expressionPalette. For example my expressions range from -2 to 7, but the interesting region lies from -1 to 1. I want to adjust my colour range so any expression values outside of the limits [-1,1] are clipped to the boundary colours.

It is possible to to this by pre-processing the input data, which would re-calculate the inputs each time I change the colour range which doesn't seem to be necessary. It makes more sense to have to colour representation change, not the underlying data.

As you can imagine, this will eventually be used in an interactive figure :)

gszep commented 3 years ago

ah. moving this to GigaScatter