merging fit and MA objects
0
0
Entering edit mode
Guoneng Zhong ▴ 180
@guoneng-zhong-996
Last seen 9.6 years ago
Hi, Is there an easy way to merge data from a fit object (from lmFit) and MA data (from normalizeWithinArrays) based on the genes? I mean, I want the p values from the fit object and the different M values (each column represents an original file), matching the data based on fit$gene or MA$gene. Basically, what I have now is: targets <- readTargets(targetFile) RG<-read.maimages(targets$FileName,columns=list(Rf="C5_Signal_Median", Rb="C5_Signal_SD",Gf="C3_Signal_Median",Gb="C3_Signal_SD"),annotation= c('Sel_Crt','Probe_Seq','Feature_ID')) RG.noBG <- backgroundCorrect(RG,method='none') MA.lnorm <- normalizeWithinArrays(RG.noBG, method="loess") design <- modelMatrix(targets,ref="Reference") fit<-lmFit(MA.lnorm,design) fit<-eBayes(fit) I could use the merge() function, but then I don't know before hand how many data files are being read with read.maimages. Thanks, G
• 633 views
ADD COMMENT

Login before adding your answer.

Traffic: 902 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