heatGrid | R Documentation |
Function for a simple heat map with custom limits in base r plotting. The function is a wrapper for the image function
heatGrid(
mat = NULL,
xrange = NULL,
yrange = NULL,
xlimit = NULL,
ylimit = NULL,
colramp = topo.colors(200),
maketicks = T,
xticks = NULL,
yticks = NULL,
makebox = T,
axislwd = 0.5,
locut = NULL,
hicut = NULL,
nacut = F,
axisvars = NULL,
...
)
pkHeatmap(
mat = NULL,
xrange = NULL,
yrange = NULL,
xlimit = NULL,
ylimit = NULL,
colramp = topo.colors(200),
maketicks = T,
xticks = NULL,
yticks = NULL,
makebox = T,
axislwd = 0.5,
locut = NULL,
hicut = NULL,
nacut = F,
axisvars = NULL,
...
)
mat |
matrix with values to create heatmap for |
xrange |
the x range in which to plot the grid (vector length 2) |
yrange |
the y range in which to plot the grid (vector length 2) |
xlimit |
the x limits of the plot (vector length 2) |
ylimit |
the y limits of the plot (vector length 2) |
colramp |
the colors to use for plotting (vector) |
maketicks |
draw simple x,y axes (logical). |
xticks |
position of xticks, defaults to |
yticks |
posiition of yticks, defaults to |
makebox |
draw box line around plot (logical) |
axislwd |
linewidth to use for ticks and box (numeric) |
locut |
low threshold on raster values (numeric) |
hicut |
high threshold on raster values (numeric) |
nacut |
values outside cutrange are set to NA instead of cut value (logical) |
axisvars |
list with additional arguments to |
... |
other parameters passed to |
plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.