readDcpRectangle {dChipIO} | R Documentation |
Reads a spatial subset of probe-level data from a dChip DCP file.
readDcpRectangle(filename, fields=c("rawIntensities", "normalizedIntensities"),
xrange=c(0, Inf), yrange=c(0, Inf), ..., asMatrix=TRUE)
filename |
The pathname of the DCP file. |
fields |
The cell fields to be read. |
xrange |
A |
yrange |
A |
asMatrix |
If |
... |
Additional arguments passed to |
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.
Henrik Bengtsson
The readDcp
() method is used internally.
This method was inspired by readCelRectangle()
of the
affxparser package.
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")