Description Usage Format See Also
These colour gradients are used in conjunction with ggplot2's
scale_fill_gradientn()
. Available gradients are
scale_Blues
A colour gradient for heatmaps, from white to blue
scale_RdGrBu
A colour gradient for difference heatmaps, from red over green to blue
scale_RdBu
A colour gradient for difference heatmaps, from red over white to blue
scale_RdBu_bias(bias = 1.5)
A function for creating a colour gradient for difference heatmaps, from red
over white to blue (like scale_RdBu). The bias
parameter defines
how widely the colours space towards both ends.
scale_Spectral
A colour gradient for difference heatmaps, from red over yellow to blue
scale_Spectral_bias(bias = 1.5)
A function for creating a colour gradient for difference heatmaps, from red
over yellow to blue (like scale_Spectral). The bias
parameter
defines how widely the colours space towards both ends.
1 2 3 4 5 6 7 8 9 10 11 | scale_RdGrBu
scale_Blues
scale_RdBu
scale_RdBu_bias(bias = 1.5)
scale_Spectral
scale_Spectral_bias(bias = 1.5)
|
1 | chr [1:100] "#FF0000" "#FF0A00" "#FF1400" "#FF1E00" "#FF2800" ...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.