NormalizeColor {EmbedSOM} | R Documentation |
Helper for computing colors for embedding plots
Description
Helper for computing colors for embedding plots
Usage
NormalizeColor(data, low = NULL, high = NULL, pow = 0, sds = 1)
Arguments
data |
Vector of scalar values to normalize between 0 and 1 |
low , high |
Originally quantiles for clamping the color. Only kept for backwards compatibility, now ignored. |
pow |
The scaled data are transformed to data^(2^pow). If set to 0, nothing happens. Positive values highlight differences in the data closer to 1, negative values highlight differences closer to 0. |
sds |
Inverse scale factor for measured standard deviation (greater value makes data look more extreme) |
Examples
EmbedSOM::NormalizeColor(c(1,100,500))
[Package EmbedSOM version 2.1.2 Index]