[BioC] Re: [R] An image() problem related to Affy package in BioC

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Mon Jul 19 22:52:49 CEST 2004


# Blue - yellow 
library(arrayMagic)
x <- matrix( rnorm(1000*100), nc=100 )
plot.imageMatrix( x )

# Red - green
library(sma)
plot.mat(x)

Looking at the codes, the author utilise rgb(). Hope this helps.

Regards, Adai.


On Mon, 2004-07-19 at 20:27, F Duan wrote:
> Dear All,
> 
>  
> 
> There is a question I met when using Affy package in Bioconductor. I asked
> it in BioC and didn't get any responses. Sorry to post again:
> 
>  
> 
> Could anyone tell me how to draw a deep-blue Affymetrix image through
> Image() function in Affy package? The default settings of image() draw me a
> black-white image and if I modify it to 256 colors, I get a somehow
> yellowish image. The reason for me to draw a deep-blue one is because I
> found most of papers display the spotted cDNA microarray image as red-green
> and the Affymetrix chip image as deep-blue.
> 
>  
> 
> Thank you very much,
> 
>  
> 
> Frank
> 
>  
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



More information about the Bioconductor mailing list