I played a little bit around and got the following solution which works for
now, though it seems to be too complicated to me.
If anybody else know another solution - please let me know!!!
library(lattice)
my.mat <- matrix(rnorm(800), nrow = 40)
colorFun <- colorRampPalette(c("yellow","red"))
I played a little bit around and got the following solution which works for
now, though it seems to be too complicated to me.
If anybody else know another solution - please let me know!!!
library(lattice)
my.mat <- matrix(rnorm(800), nrow = 40)
colorFun <- colorRampPalette(c("yellow","red"))
b
Hi there,
I'd like to create a heatmap from my matrix with
a) a defined color range (lets say from yellow to red)
b) using striking colors above and below a certain threshold (above = "green",
below = "blue")
Example matrix (there should be a few outliers generated...) + simple levelplot
with
3 matches
Mail list logo