readDcpRectangle {dChipIO} | R Documentation |
Reads a spatial subset of probe-level data from a dChip DCP file
Description
Reads a spatial subset of probe-level data from a dChip DCP file.
Usage
readDcpRectangle(filename, fields=c("rawIntensities", "normalizedIntensities"),
xrange=c(0, Inf), yrange=c(0, Inf), ..., asMatrix=TRUE)
Arguments
filename |
The pathname of the DCP file. |
fields |
The cell fields to be read. |
xrange |
A |
yrange |
A |
asMatrix |
If |
... |
Additional arguments passed to |
Value
A named list
CEL structure similar to what readDcp
().
In addition, if asMatrix
is TRUE
, the CEL data fields
are returned as matrices, otherwise not.
Author(s)
Henrik Bengtsson
See Also
The readDcp
() method is used internally.
This method was inspired by readCelRectangle()
of the
affxparser package.
Examples
path <- system.file("exData", package="dChipIO")
filename <- "Test3-1-121502.dcp"
pathname <- file.path(path, filename)
data <- readDcpRectangle(pathname)
layout(matrix(1:4, nrow=2, byrow=TRUE))
image(data$rawIntensities, main="Raw probe signals")
image(data$normalizedIntensities, main="Normalized probe signals")