Re: [Rd] png() and image()

2006-07-24 Thread ripley
> Wolfgang Huber wrote: >> Henrik Bengtsson wrote: >>> Hi Wolfgang, >>> >>> thanks for this - I took a look the EBImage webpage >>> [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very >>> nice. Are there any plans for Windows support too? I am looking for >>> a cross-platform sol

Re: [Rd] png() and image()

2006-07-24 Thread Hin-Tak Leung
Wolfgang Huber wrote: > Henrik Bengtsson wrote: >> Hi Wolfgang, >> >> thanks for this - I took a look the EBImage webpage >> [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very >> nice. Are there any plans for Windows support too? I am looking for >> a cross-platform solution. >>

Re: [Rd] png() and image()

2006-07-24 Thread Wolfgang Huber
Henrik Bengtsson wrote: > Hi Wolfgang, > > thanks for this - I took a look the EBImage webpage > [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very > nice. Are there any plans for Windows support too? I am looking for > a cross-platform solution. > > Cheers Hi Henrik, there ar

Re: [Rd] png() and image()

2006-07-21 Thread Hin-Tak Leung
By changing png("large.png", height=nrow(z), width=ncol(z), bg="red") to png("large.png", height=nrow(z), width=ncol(z), bg="blue") I can get the right column (on linux) to change to blue. So it seems to be an alignment off-by-one error with the background colour showing through, so you migh

Re: [Rd] png() and image()

2006-07-21 Thread Henrik Bengtsson
Hi Wolfgang, thanks for this - I took a look the EBImage webpage [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very nice. Are there any plans for Windows support too? I am looking for a cross-platform solution. Cheers Henrik On 7/21/06, Wolfgang Huber <[EMAIL PROTECTED]> wrot

Re: [Rd] png() and image()

2006-07-21 Thread Wolfgang Huber
Hi Henrik, this does not directly answer your question, but you might be able to use the function write.image in the package EBImage (Bioconductor) to write matrices into image files (e.g. PNG or JPEG), this might be more flexible and also faster than what you're trying to do. Best wishes W

[Rd] png() and image()

2006-07-20 Thread Henrik Bengtsson
Hi, I try to create PNG images of a certain size where each pixel intensity corresponds to exactly one probe signal in an Affymetrix array. I try to use png() and image() with zero margins to do this. Example: z <- matrix(1:15, nrow=45, ncol=30) png("large.png", height=nrow(z), width=ncol(z), b