Names of the samples(CEl file)(2)
1
0
Entering edit mode
@vitalina-komashko-750
Last seen 10.2 years ago
Good morning, I'm still having problems with the sampleNames for my CEL files. I have already tried to indicate the sample names in ReadAffy function but it does not help: > nm<-c("sampleA","sampleB","sampleC") > data.test<-ReadAffy(widget=TRUE,sampleNames=nm) > sampleNames(data[1]) [1] "C:/Program Files/R/rw1090/rdata/JS1999081101AA.CEL" Could anybody please help me? Vitalina [[alternative HTML version deleted]]
• 890 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 17 hours ago
United States
You have to list the actual celfile names, not what you want to call them. In addition, you cannot use the widget *and* list the filenames. If you simply want all the cel files in the directory, try this: data.test <- ReadAffy(filenames=list.celfiles()) If you only want a subset, you can call list.celfiles() separately and then subset in the call to ReadAffy() filenames <- list.celfiles() data.test <- ReadAffy(filenames=filenames[some subset]) If you really want to use the widget, you can always change the sampleNames after the fact: sampleNames(data.test) <- sub("^C:/Program Files/R/rw1090/rdata/","", sampleNames(data.test)) HTH, Jim James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 >>> "Vitalina Komashko" <vmkomashko@bionet.nsc.ru> 05/07/04 07:04AM >>> Good morning, I'm still having problems with the sampleNames for my CEL files. I have already tried to indicate the sample names in ReadAffy function but it does not help: > nm<-c("sampleA","sampleB","sampleC") > data.test<-ReadAffy(widget=TRUE,sampleNames=nm) > sampleNames(data[1]) [1] "C:/Program Files/R/rw1090/rdata/JS1999081101AA.CEL" Could anybody please help me? Vitalina [[alternative HTML version deleted]] _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
ADD COMMENT

Login before adding your answer.

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