[BioC] marrayQuality & marray : empty ?

Paquet, Agnes apaquet at medsfgh.ucsf.edu
Fri Mar 4 20:39:13 CET 2005


marray is using a reference table named controlCode to check the control
status of the spotted probes. controlCode is a matrix with 2 columns
named: Pattern and Name. You can check the default controlCode by typing
in R:

   Pattern      Name      
1  "Buffer"     "Buffer"  
2  "Empty"      "Empty"   
3  "EMPTY"      "Empty"   
4  "AT"         "Negative"
5  "NC"         "Negative"
6  "M200009348" "Positive"
7  "M200012700" "Positive"

To specify your own controls, you have to create your own controlCode
matrix. This can be done by either using the readcontrolCode function in
marray or by reading a tab-delimited text file directly.

controlCode <- as.matrix(read.table("mycontrolCode.txt",
sep="\t",header=TRUE, quote="\"", fill=TRUE)))

Then, you can fill up the maControls slot by calling the function
It is easier to use read.Galfile instead of read.marrayLayout and
read.marrayInfo to read your array information. You will need to add
your control column name in the info.id argument:

Assume mraw is a marrayRaw object:
test <- read.Galfile(info.id = c("ID", "Name", "ctl"))
maLayout(mraw) <- test$layout
maGnames(mraw) <- test$gnames

Then, you can define your controls using the function maGenControls,
specifying your control column in the id argument:
maControls(mraw) <- maGenControls(Gnames, controlcode=newControlCode, id
= "correctCtlID")



-----Original Message-----
From: bioconductor-bounces at stat.math.ethz.ch
[mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of Ghislaine
Sent: Tuesday, March 01, 2005 4:46 AM
To: bioconductor at stat.math.ethz.ch
Subject: [BioC] marrayQuality & marray : empty ?


I have a control column : "ctl" in gal file with control information,
and I 
define maLayout like this :
         manip.layout <- 
ctl.col = "ctl")
         x <-  as.character(maInfo(manip.gnames)[,"ctl"])
         y <- rep("probes", maNspots(manip.layout))
         y[x == "control"] <- "control"
         slot(manip.layout, "maControls") <- as.factor(y)

By this way, fonction maQualityPlots from the marrayQuality package
DotPlots with control spots (in green) but not with empty spots.

How and where empty spots are they defined in the marray format ?


Bioconductor mailing list
Bioconductor at stat.math.ethz.ch

More information about the Bioconductor mailing list