Description Usage Arguments Examples
Plot values as linear heatmaps.
1 2 3 | linear.heatmap(x, center = 0.5, minval = 0, maxval = 1,
palettes = brewer.pal(9, "Reds"), nslices = 50, xlab = "",
spacing = 0.05, bottom.to.top = TRUE, ...)
|
x |
vector of numeric values |
center |
central value; each value of x will be shown relative to its difference from 'center' |
palettes |
palettes for chosing colors for values less than and greater than 'center. Either a vector or a list of two vectors, where each vector contains two or more colors, ordered from closest to furthest from 'center'. |
nslices |
number of color slices to use in each gradient |
xlab |
x-axis label |
spacing |
amount of space [0-0.5) between each heatmap |
bottom.to.top |
if TRUE, plot values from the bottom to the top of the plot, otherwise top-down |
... |
additional arguments to be passed to 'plot' |
min |
minimum value; must be <= 'center' |
max |
value; must be >= 'center' |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.