Dear Mahalakshmi, the simplest way to do this and to avoid your error is to open R directtly for the folder in which there are your .CEL files and then:
data<-ReadAffy() #read all the .CEL files in the working director data.rma<-rma(data) #in order to use rma on your .CEL files hope helps 2010/3/4 mahalakshmi sivamani <mahasiva1...@gmail.com>: > Hi all , > > I have one query. > > i have list of some .cel files. in my program i have to mention the path of > these .cel files > > part of my program is, > > rna.data<-exprs(justRMA(filenames=file.names, celfile.path=*datadir*, > sampleNames=sample.names, phenoData=pheno.data, > cdfname=cleancdfname(hg18_Affymetrix U133A))) > > > in the place of "datadir" i have to mention the character string of the > directory of these .cel files. I don't know how to give the path for all > these files. > > i set the path as given below, > > >> rna.data<-exprs(justRMA(filenames=file.names, celfile.path="*D:/MONO1.CEL" > "D:/MONO2.CEL" "D:/MONO3.CEL" "D:/MACRO1.CEL" "D:/MACRO2.CEL" > "D:/MACRO3.CEL"*,sampleNames=sample.names, phenoData=pheno.data, > cdfname=cleancdfname(hg18_Affymetrix U133A))) > > > it shows this error, > > Error: unexpected string constant in > "rna.data<-exprs(justRMA(filenames=file.names, celfile.path="D:/MONO1" > "D:/MONO2"" > > > could u please help me in this case. > > > Thanks in advance. > > > with regards, > > S.Mahalakshmi > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ----------------------------------------------------- Dr. Alberto Goldoni Bologna, Italy ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.