[BioC] Limma: setting up printer information for agilent files
Daniel Brewer
daniel.brewer at icr.ac.uk
Wed Jan 3 17:14:59 CET 2007
I am having trouble setting up the printer information for an agilent
data set. These are the commands I am following:
> targets <- readTargets()
> stuff <- read.maimages(targets$FileName,source="agilent")
> #Setup layout
> stuff$genes$Block <- 1
> names(stuff$genes)[2] <- "Column"
> stuff$printer <- getLayout(stuff$genes)
> imageplot(log2(stuff$Rb[,1]), stuff$printer, low="white", high="red")
> Error in imageplot(log2(stuff$Rb[, 1]), stuff$printer, low = "white", :
> Number of image spots does not agree with layout dimensions
I added Block information (there is only one block on agilent arrays)
and changed a column name from "Col" to "Column". The block is 119x156.
Any idea what I am doing wrong?
The printer object gives this:
> stuff$printer
> $ngrid.r
> [1] 1
>
> $ngrid.c
> [1] 1
>
> $nspot.r
> [1] 119
>
> $nspot.c
> [1] 156
>
> attr(,"class")
> [1] "PrintLayout"
Thanks
--
**************************************************************
Daniel Brewer, Ph.D.
Email: daniel.brewer at icr.ac.uk
More information about the Bioconductor
mailing list