Re: [R] image and color gradient

2013-05-17 Thread David Winsemius
On May 17, 2013, at 12:58 PM, Hermann Norpois wrote: > Hello, > > I have a nice function that makes an image of an matrix > e.g.: > qt[1:3,1:3] > rs655246 rs943795 rs955612 > rs655246 NA NA NA > rs943795 9.610070e-04 NA NA > rs955612 5.55

[R] image and color gradient

2013-05-17 Thread Hermann Norpois
Hello, I have a nice function that makes an image of an matrix e.g.: qt[1:3,1:3] rs655246 rs943795 rs955612 rs655246 NA NA NA rs943795 9.610070e-04 NA NA rs955612 5.555616e-05 7.915982e-07 NA myimage <- function(x, cex.axis = 0.7,