Learn R Programming

aroma.affymetrix (version 3.2.2)

writeImage.AffymetrixCelFile: Writes a spatial image of the signals in the CEL file

Description

Writes a spatial image of the signals in the CEL file.

Usage

# S3 method for AffymetrixCelFile
writeImage(this, filename=NULL, fullname=NULL, tags=c("*", "sqrt", "gray"),
  imgFormat="png", path=NULL, field=c("intensities", "stdvs", "pixels"), ..., skip=TRUE,
  verbose=FALSE)

Value

Returns the pathname to the image file created.

Arguments

filename

A character string specifying the filename of the output file.

fullname

A character string specifying the full name of the output file.

tags

A character vector of optional tags added to the already existing tags of the CEL file.

imgFormat

A character string specifying the filename extension which also defines the image file format.

path

The path where the image file is stored.

...

Arguments passed to *getImage().

verbose

A logical or a Verbose object.

Author

Ken Simpson, Henrik Bengtsson

See Also

For more information see AffymetrixCelFile.

Examples

Run this code
if (FALSE) {
  yellow.colors <- function(n) { hsv(h=0.15, v=0:(n-1)/(n-1)) }
  df <- ds[[1]]
  writeImage(df, tags="gray", palette=gray.colors(256), xrange=c(0,200))
  writeImage(df, tags="yellow", palette=yellow.colors(256), xrange=c(0,200))
  writeImage(df, tags="heat", palette=heat.colors(256), xrange=c(0,200))
  writeImage(df, tags="terrain", palette=terrain.colors(256), xrange=c(0,200))
  writeImage(df, tags="topo", palette=topo.colors(256), xrange=c(0,200))
  writeImage(df, tags="cm", palette=cm.colors(256), xrange=c(0,200))
  writeImage(df, tags="rainbow", palette=rainbow(256), xrange=c(0,200))
}

Run the code above in your browser using DataLab