[BioC] duplicate correlation on Agilent 4x44 arrays
Gordon Smyth
smyth at wehi.EDU.AU
Tue Apr 10 13:02:54 CEST 2007
Dear Mitch,
You don't say what instructions you are trying to follow here. I
think you may be trying to use code which was intended for other data
sets. I suspect that there may be more than one problem.
Firstly, why do you need to use readGAL()? This is only needed with
SPOT data. Your RG object from read.maimages() will already contain
annotation information from the Agilent output files. Look at
names(RG$genes)
to see what you have.
Secondly, does your GAL file match your data files? Type
dim(RG)
and
gal <- readGAL()
dim(gal)
Do the row numbers agree? I am guessing they may have different
numbers of rows.
BTW, do you need to use "normexp"? I've found the AgilentFE
background estimator is already pretty good, and doesn't produce
negative intensities anyway.
Best wishes
Gordon
>Date: Mon, 9 Apr 2007 12:21:57 +0200
>From: "Mitch Levesque" <Mitch.Levesque at tuebingen.mpg.de>
>Subject: [BioC] duplicate correlation on Agilent 4x44 arrays
>To: <bioconductor at stat.math.ethz.ch>
>
>Hi Bioconductors,
>
>I am using R 2.4.1 and limma to analyze the new Agilent 4x44 array design
>and am having trouble with the duplicate correlation function using the
>following script:
>
>
>library(limma)
>targets <- readTargets("Targets.txt")
>RG <- read.maimages(targets$FileName, source="agilent")
>RG$genes<-readGAL()
>RG$printer<-getLayout(RG$genes)
>RG <- backgroundCorrect(RG, method="normexp", offset=50)
>MA <- normalizeWithinArrays(RG, method="loess")
>MA <- MA[order(RG$genes[,"ID"]),]
>
>I get the following error:
>
>Error in `[.MAList`(MA, order(RG$genes[, "ID"]), ) :
> subscript out of bounds
>
>I would like to treat the duplicate probes on each array as a technical
>replicate, but since the spacing is not consistent for each gene, I must
>first order the list by reference number. Are there any suggestions about
>how I may do this?
>
>Mitch
More information about the Bioconductor
mailing list