Plot hotmap2
1 2 3 4 5 6 7 8 9 10 | hotmap2(mat, melted = FALSE, return.data = FALSE, x = NULL, y = NULL,
fill = NULL, x.order = TRUE, y.order = TRUE, order = TRUE,
limits = c(-10, 10), cols = colours2(), title = "",
x.breaks = waiver(), x.labels = waiver(), x.name = NULL,
x.labels.by = NULL, x.labels.numeric = FALSE, y.breaks = waiver(),
y.labels = waiver(), y.name = NULL, y.labels.by = NULL,
y.labels.numeric = FALSE, title.hjust = 0.5, legend.position = "none",
panel.border = element_blank(), margins = c(0, 0, 0, 0), ratio = 1,
x.ticksize = 6, y.ticksize = 6, bl.label = "", br.label = "",
tl.label = "", tr.label = "", label.size = 0.1)
|
mat |
matrix to be plotted |
melted |
TRUE if matrix in tidy format |
x |
axis |
y |
axis |
fill |
value |
x.order |
order of variables on x axis |
y.order |
order of variables on x axis |
order |
do not x.order or y.order if FALSE |
limits |
colour limits |
cols |
colours |
title |
plot |
x.breaks |
tick mark positions |
x.labels |
tick mark labels |
x.name |
axis label |
x.labels.by |
tick spaces |
x.labels.numeric |
convert labels to numbering |
y.breaks |
tick mark positions |
y.labels |
tick mark labels |
y.name |
axis label |
y.labels.by |
tick spaces |
y.labels.numeric |
convert labels to numbering |
title.hjust |
adjust title position. 0.5 is middle |
legend.position |
hide or display key and if so where |
panel.border |
show plot border, if so which |
margins |
border space around plot: c(x,x,x,x) |
ratio |
aspect ratio of x and y axis |
x.ticksize |
tick label size |
y.ticksize |
tick label size |
bl.label |
add text on plot bottom left |
br.label |
add text on plot bottom right |
tl.label |
add text on plot top left |
tr.label |
add text on plot top right |
label.size |
text size |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.