R/valueRangeExpression.R
vreScale2Colours.Rd
vreScale2Colours
takes a value from a range and
scales it proportionally into a colour from a colour gradient.
vreScale2Colours(clr1, clr2, vMin, vMax, value)
The colour representing the lower value of the target range.
The colour representing the upper value of the target range.
The lower value of the source range.
The upper value of the source range.
The source value to rescale into the target range.
The value scaled into the target colour gradient.