[BioC] affycomp and info.txt? --> method.name and .data.frame

Robert Gentleman rgentlem at fhcrc.org
Tue May 24 14:46:27 CEST 2005


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/statistical_algorithms_technote.pdf
> 
> 
>>affycomp.info <- read.table("H:/Profile/Eigene Dateien/Dip_bak/Pr_sprach/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/statistical_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

  dim(affycomp.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 at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list