colour_scale | R Documentation |
Given a numeric vector and min and max colour values, return a colour ramp
that assigns a colour to each element in the vector. This function is a
wrapper for circlize::colorRamp2
.'
colour_scale(data, min_colour, max_colour)
data |
Vector of numeric values. |
min_colour |
Minimum colour value. |
max_colour |
Maximum colour value. |
A "function" class object that can build a circlize-style colour ramp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.