Draw a heatmap using Rcssplot.
1 2 3 |
dat |
- matrix of colors. |
legend |
- vector of colors. Legend shading. Warning: the user bares responsibility to make sure the legend matches with the dat matrix. |
ylabels |
- logical. Toggle display of labels on y axis. |
xlabels |
- logical. Toggle display of labels on x axis. |
dividers |
- logical. Toggle vertical dotted lines between x items. |
xlab |
- character string. Text to display below x axis |
ylab |
- character string. Text to display below y axis. |
main |
- character string. Text to display as title, above heatmap. |
Rcss |
- Rcss object. Used to style the heatmap with Rcssplot. |
Rcssclass |
- character vector. Classes to tune Rcssplot formatting. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.