error in read.maimages {limma}
1
0
Entering edit mode
5.2 years ago
594915965 • 0

when I run this code

x <-read.maimages(as.character(sampleInfo[,'RawDataFile']),source="agilent",green.only=TRUE,path=paste(data_dir,'raw',sep='/'))

I got an error:

Error in RG[[a]][, i] <- obj[, columns[[a]]] : 
  被替换的项目不是替换值长度的倍数
  

I have set the directory path also I mentioned all the file names in targets.txt. I also re-download the raw data from GEO database.

please help with this.

Thank you.

microarray limma • 1.6k views
ADD COMMENT
2
Entering edit mode

I suggest you set your R environment language to English when posting at an international forum. Apparently (Google translate), the error message is:

number of items to replace is not a multiple of replacement length

ADD REPLY
0
Entering edit mode

Sorry,I tried to set Rstudio environment language to English but failed. The error is always in Chinese, I don't know how to change it. I use Linux (Debian),can u help me?Thanks!

ADD REPLY
2
Entering edit mode
5.2 years ago
Gordon Smyth ★ 7.0k

read.maimages requires all the Agilent data files to correspond to the same set of probes, with one row for each probe. It seems however that your files have different numbers of rows.

ADD COMMENT
0
Entering edit mode

Yup ! I found one target.txt is different. When I delete this file, it works!Thank u!

ADD REPLY

Login before adding your answer.

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