affycomp and info.txt? --> method.name and .data.frame
1
0
Entering edit mode
@mohammad-esad-djou-1159
Last seen 9.6 years ago
Thanks for your help. I produced info.txt: (e.g.) fullname: Rafael A. Irizarry method: MAS 5.0 nickname: MAS 5.0 competition: YES URL: http://www.affymetrix.com/support/technical/technotes/statistical _algorithms_technote.pdf > affycomp.info <- read.table("H:/Profile/Eigene Dateien/Dip_bak/Pr_sp rach/R/info/info.txt",sep="\t",as.is=TRUE,quote="") is Ok... I control affycomp.info: > affycomp.info V1 1 fullname: Rafael A. Irizarry 2 method: MAS 5.0 3 nickname: MAS 5.0 4 competition: YES 5 URL: http://www.affymetrix.com/support/technical/technotes/statistic al_algorithms_technote.pdf afterwards: > method.name <- affycomp.info[3,2] Error in "[.data.frame"affycomp.info, 3, 2) : undefined columns selected where does error lie? Thnaks, Mohammad
affycomp affycomp • 1.0k views
ADD COMMENT
0
Entering edit mode
rgentleman ★ 5.5k
@rgentleman-7725
Last seen 9.0 years ago
United States
Hi Mohammad, Mohammad Esad-Djou wrote: > Thanks for your help. > > I produced info.txt: (e.g.) > > fullname: Rafael A. Irizarry > method: MAS 5.0 > nickname: MAS 5.0 > competition: YES > URL: http://www.affymetrix.com/support/technical/technotes/statistic al_algorithms_technote.pdf > > >>affycomp.info <- read.table("H:/Profile/Eigene Dateien/Dip_bak/Pr_sp rach/R/info/info.txt",sep="\t",as.is=TRUE,quote="") > > is Ok... > I control affycomp.info: > > >>affycomp.info > > V1 > 1 fullname: Rafael A. Irizarry > 2 method: MAS 5.0 > 3 nickname: MAS 5.0 > 4 competition: YES > 5 URL: http://www.affymetrix.com/support/technical/technotes/statist ical_algorithms_technote.pdf > > afterwards: > I am not just sure what afterwards is supposed to mean here, > >>method.name <- affycomp.info[3,2] > > Error in "[.data.frame"affycomp.info, 3, 2) : > undefined columns selected > > You could see the dimensions of affycomp.info by going dimaffycomp.info) and I suspect that it does not have 2 columns - and so your command is in error. You have asked for an entry that does not exist. Is there some reason that you think that read.table will return a matrix? You might read the manual page for read.table - especially the part about separators (did you put tabs into the file you created?) Best wishes, Robert > where does error lie? > > Thnaks, > Mohammad > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT

Login before adding your answer.

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