Description Usage Arguments Examples
View source: R/imageWithLabels.R
if you need an colorscale to you imagelables use this
1 2 | imageColorscale(x, cex = 1, cex.axis = 0.5, col = heat.colors(12),
digits = 2, zlim = NULL, breaks)
|
x |
data the data matrix |
cex |
cex |
cex.axis |
cex.axis |
col |
colors used |
digits |
number of digits on color scale, default 2 |
zlim |
zlim |
breaks |
optional argument passed to image (see image for more details) |
1 2 3 4 5 6 | x = matrix(rnorm(20*30, 5),ncol=20)
rownames(x) <- 1:30
colnames(x) <- letters[1:20]
imageColorscale(x)
imageColorscale(x,col=getBlueWhiteRed(), zlim=c(-1,1))
imageColorscale(x,col=getBlueWhiteRed(), zlim=c(-5,5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.