schrodinger.ui.sequencealignment.utils module¶
- schrodinger.ui.sequencealignment.utils.colorGradientBlueWhiteRed(value)[source]¶
Return an RGB color triple using blue - white - red gradient for a given value. The value is clamped to a [-1..1] range.
- Parameters
value (float) – numerical value
- Return type
(int int int)
- Returns
RGB color triple
- schrodinger.ui.sequencealignment.utils.colorGradientGreenRed(value)[source]¶
Return an RGB color triple using green - red gradient for a given value. The value is clamped to a [-1..1] range.
- Parameters
value (float) – numerical value
- Return type
(int int int)
- Returns
RGB color triple