Question: Error When Reading GEO Series Matrix File Using GEOquery in R
gravatar for Alonzo
5.0 years ago by
United States
Alonzo10 wrote:

I'm running R 3.2.3 on Windows 8, trying to get phenotype data from a GSE using GEOquery (v. 2.36.0), but when I run the command

GSE781 <- getGEO(filename="GSE781--GPL96_series_matrix_txt.gz", GSEMatrix = TRUE)

I get the following error:

Error in xj[i]: only 0's may be mixed with negative subscripts

In addition: Warning message: In download.file(myurl, destfile, mode = mode, quiet = TRUE, method = getOption("download.file.method.GEOquery")) : downloaded length 1278353 != reported length 200.

I get the same "Error in xj[i]: only 0's may be mixed with negative subscripts" error when I tried using

GSE781 <- getGEO("GSE781", GSEMatrix = TRUE)

I'm really stumped as to what I could be doing wrong. Any help is much appreciated!

ADD COMMENTlink modified 4.8 years ago by Biostar ♦♦ 20 • written 5.0 years ago by Alonzo10

The following worked for me:

GSE781 <- getGEO("GSE781", GSEMatrix = TRUE)

R version 3.2.1
ADD REPLYlink modified 4.8 years ago • written 4.8 years ago by informatics bot640
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1629 users visited in the last hour