Hi, I am trying to read some EPIC arrary data using:
targets <- read.metharray.sheet(data_dir)
RGset <- read.metharray.exp(targets = targets, verbose = TRUE, force=TRUE)
and I get the following error
[read.metharray] Instantiating final object ... Error in `sampleNames<-`(`*tmp*`, value = c("1600101", "1600111", "1600115", : number of new names (1051943) should equal number of rows in AnnotatedDataFrame (1051539) Calls: read.metharray.exp ... featureNames<- -> featureNames<- -> sampleNames<- -> sampleNames<- Execution halted
I used the force=TRUE option because I was getting the same error as described here minfi - error when reading idat files.
Thanks in advance.