Entering edit mode
jbar3141
•
0
@jbar3141-16896
Last seen 6.2 years ago
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.
Please include the output of
sessionInfo()
otherwise we don't know what version of R or minfi you are using. Please also read http://www.bioconductor.org/help/support/posting-guide/ for advice on creating a question that will be easier for people to help you answer.I believe this is cross-posted from https://github.com/hansenlab/minfi/issues/173. Based on the
sessionInfo()
you posted there, you are using an old version of minfi. As recommended in http://www.bioconductor.org/help/support/posting-guide/, please try updating to the latest version (see http://www.bioconductor.org/install/).Yes my mistake, new version works fine. Many thanks.