Re: [R] heatmap with levelplot

2009-01-26 Thread Antje
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"))

Re: [R] heatmap with levelplot

2009-01-26 Thread Antje
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