Description Usage Arguments Value Examples
Imports: grDevices
1 2 3 4 5 6 7 | hmGradient(
highcol = "red",
midcol = "white",
lowcol = "blue",
bend = 1,
n = 100
)
|
highcol |
string, color of your choice for high values |
midcol |
string, color of your choice for middle values |
lowcol |
string, color of your choice for low values |
bend |
integer, bends the color scale so that the middle color takes up less space the higher the bend value is |
n |
integer, half this number is used as an input for the colorRampPalette function for each gradient (high to mid and mid to low) |
a character vector of length n, containing all colors from high to low
1 2 3 | library(ggdendroplot)
hmGradient()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.