Difference between normalizeWithinArrays and stat.ma
2
0
Entering edit mode
@saroj-mohapatra-847
Last seen 10.2 years ago
Dear friends I have recently migrated to R (8.0) for analysis of microarray data. I am doing a loess (print-tip, perhaps scaled) normalization. I find that there are 2 options to do this: using normalizeWithinArrays (Limma) and stat.ma(sma). I find the objects returned by the two functions are different, however the M and A values seem to be the same. Is one function preferable over the other? Any feedback regarding this would be appreciated. Thanks and regards, Saroj -------------------------- Saroj K Mohapatra, MD Research Associate Karmanos Cancer Institute Wayne State University School of Medicine 110 E. Warren, Room 311 Detroit MI 48201 313-833-0715 x2424 saroj@wayne.edu
Microarray Normalization Cancer Microarray Normalization Cancer • 1.3k views
ADD COMMENT
0
Entering edit mode
@saroj-mohapatra-847
Last seen 10.2 years ago
Dear friends I have recently migrated to R (8.0) for analysis of microarray data. I am doing a loess (print-tip, perhaps scaled) normalization. I find that there are 2 options to do this: using normalizeWithinArrays (Limma) and stat.ma(sma). I find the objects returned by the two functions are different, however the M and A values seem to be the same. Is one function preferable over the other? Any feedback regarding this would be appreciated. Thanks and regards, Saroj -------------------------- Saroj K Mohapatra, MD Research Associate Karmanos Cancer Institute Wayne State University School of Medicine 110 E. Warren, Room 311 Detroit MI 48201 313-833-0715 x2424 saroj@wayne.edu
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 7 hours ago
WEHI, Melbourne, Australia
Print-tip loess normalization in limma is identical to that in sma (deliberately). However the limma command accommodates weights while the stat.ma() does not. I like sma but it is a no longer under development. Better to use one of the BioC packages under active development and support such as marray or limma. Gordon > Dear friends > > I have recently migrated to R (8.0) for analysis of microarray data. I > am doing a loess (print-tip, perhaps scaled) normalization. I find that > there are 2 options to do this: using normalizeWithinArrays (Limma) and > stat.ma(sma). I find the objects returned by the two functions are > different, however the M and A values seem to be the same. Is one > function preferable over the other? Any feedback regarding this would be > appreciated. > > Thanks and regards, > > Saroj
ADD COMMENT
0
Entering edit mode
Hi Gordon Thanks for the response. I have another question. I am reading Imagene output files using read.maimages (Limma) or ImaGeneData$read (Aroma). The former can read both files simultaneously whereas the latter reads each file separately. I was using read.maimages until I found that I could not get the flag information from the data. At some point of pre-processing I need to exclude the spots with certain flag values associated with it (the flags are attached during image quantification). Suppose I would like to exclude all the spots with a flag value of more than 0. When I do this: myfun<-function(x) as.numeric(x$flags > 0) RG<-read.maimages(files,source="imagene",wt.fun=myfun) I get the message that it reads the images and then: Error in "[<-"(`*tmp*`,,I,value=numeric(0)) : Nothing to replace with I know that the files specified in the variable 'files' does have flags with higher values than zero. Was there a problem during the reading? Is there any other way to find the flag information? Also, I found that ImaGeneData$read (Aroma) does include flag information in the returned object. But I would have to read the flags manually and conditionally insert NAs for the corresponding R,G values. Thanks and regards, Saroj -----Original Message----- From: Gordon K Smyth [mailto:smyth@wehi.EDU.AU] Sent: Wednesday, July 14, 2004 6:34 PM To: saroj@wayne.edu Cc: bioconductor@stat.math.ethz.ch Subject: Re: [BioC] Difference between normalizeWithinArrays and stat.ma Print-tip loess normalization in limma is identical to that in sma (deliberately). However the limma command accommodates weights while the stat.ma() does not. I like sma but it is a no longer under development. Better to use one of the BioC packages under active development and support such as marray or limma. Gordon
ADD REPLY
0
Entering edit mode
Hi Saroj, On Thu, 15 Jul 2004, Saroj Mohapatra wrote: > RG<-read.maimages(files,source="imagene",wt.fun=myfun) > > I get the message that it reads the images and then: > > Error in "[<-"(`*tmp*`,,I,value=numeric(0)) : > Nothing to replace with Please read the examples in the help for ?QualityWeights and ?read.maimages The wt.fun argument of read.maimages does not just take a function name like myfun. The function needs to be evaluated, e.g. myfun() or myfun(10) Hope this helps, James
ADD REPLY
0
Entering edit mode
There is no ImaGene output column called "flags", it is called "Flag". See for example https://stat.ethz.ch/pipermail/bioconductor/2004-March/date.html#4154 > Hi Gordon > > Thanks for the response. I have another question. > > I am reading Imagene output files using read.maimages (Limma) or > ImaGeneData$read (Aroma). The former can read both files simultaneously > whereas the latter reads each file separately. I was using read.maimages > until I found that I could not get the flag information from the data. > At some point of pre-processing I need to exclude the spots with certain > flag values associated with it (the flags are attached during image > quantification). Suppose I would like to exclude all the spots with a > flag value of more than 0. To do that you need myfun <- function(x) as.numeric(x$Flag <= 0) Gordon > When I do this: > > myfun<-function(x) as.numeric(x$flags > 0) > RG<-read.maimages(files,source="imagene",wt.fun=myfun) > > I get the message that it reads the images and then: > > Error in "[<-"(`*tmp*`,,I,value=numeric(0)) : > Nothing to replace with > > I know that the files specified in the variable 'files' does have flags > with higher values than zero. Was there a problem during the reading? Is > there any other way to find the flag information? > > Also, I found that ImaGeneData$read (Aroma) does include flag > information in the returned object. But I would have to read the flags > manually and conditionally insert NAs for the corresponding R,G values. > > Thanks and regards, > > Saroj
ADD REPLY
0
Entering edit mode
Hi all, I have a basic question (perhaps too basic!) regarding RG to MA transformation. I understand the logic of the MA transformation as described by Terry Speed and other documents. My situation is a bit different from cDNA arrays. In this case, the red intensity refers to variable reactivity of a sample (hopefully, containing antibodies) against known antigens on the chip (each spot has different antigens). The green channel refers to reactivity against a constant protein (each spot has the same one) that is arrayed for the purpose of checking against variable protein deposit because of print-tip variation, day-to-day variation of the way in which the proteins are prepared, etc. The green intensity across the spots is never constant within a chip, indicating the variations as mentioned above. Therefore I think that the ratio of even a very reactive spot in the chip might or might not achieve a red:green ratio of 1. I wonder, if it has any impact on the issue of RG-to-MA transformation? M = log2(R/G) makes perfect sense to me, but I am not able to understand the significance of A = 1/2(log2(R.G)) in this case. Any pointers would be helpful. Thanks and regards Saroj Mohapatra --------------------- Saroj K Mohapatra, MD Research Associate Karmanos Cancer Institute Wayne State University School of Medicine 110 E. Warren, Room 311 Detroit MI 48201 313-833-0715 x2424 saroj@wayne.edu
ADD REPLY

Login before adding your answer.

Traffic: 805 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6