[BioC] beadarray error

Straubhaar, Juerg Juerg.Straubhaar at umassmed.edu
Tue Aug 2 22:48:53 CEST 2011


Hi,

The code snippet in analyseDirectory:

  storemet<-NULL
    for(i in fmet){
        storemet <- rbind(storemet,read.table(file.path(dir,fileList[i],fsep = .Platform$file.sep),header=T,as.is=T,sep="\t"))
        fileList <- fileList[-i];
    }

produces the error:

Error in rbind(deparse.level, ...) : 
  numbers of columns of arguments do not match

I changed the code to:

   storemet<-NULL
    for(i in fmet){
        storemet <- rbind(storemet,read.table(file.path(dir,fileList[i],fsep = .Platform$file.sep),header=T,as.is=T,sep="\t"))
    }
    fileList <- fileList[-fmet] 


and this works.

Juerg Straubhaar
UMASS Med


More information about the Bioconductor mailing list