View source: R/aiding_functions.R
Function to generate a scale for heatplots
1 2 3 |
col.data |
vector of colours |
min |
minimum colour |
max |
maximum colour |
cex.ticks |
size of ticks on colour bar |
nticks |
number of ticks on colour bar |
ticks |
vector of positions of ticks on colour bar |
title |
optional title for colour bar |
ylab |
optional y-axis label for colour bar |
cex.lab |
size of labels on colour bar |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.