Entering edit mode
Timothy Wu
▴
120
@timothy-wu-3964
Last seen 10.4 years ago
Hi,
I'm using getGEO to obtain the serie GSE18154 and I encounter the
following
error:
> gse18154 <- getGEO("GSE18154")
Found 1 file(s)
GSE18154_series_matrix.txt.gz
trying URL '
ftp://ftp.ncbi.nih.gov/pub/geo/DATA/SeriesMatrix/GSE18154/GSE18154_ser
ies_matrix.txt.gz
'
ftp data connection made, file length 1891349 bytes
opened URL
downloaded 1.8 Mb
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines,
na.strings,
:
scan() expected 'a real', got '"GSM453789"'
In addition: Warning messages:
1: In grepl("^!Series_", dat) : input string 38 is invalid in this
locale
2: In grepl("^!Series_", dat) : input string 46 is invalid in this
locale
3: In grepl("^!Sample_", dat) : input string 38 is invalid in this
locale
4: In grepl("^!Sample_", dat) : input string 46 is invalid in this
locale
I think part of the problem may be the extra quotation marks (when
comparing
to another matrix file that works), after downloading it and manually
removing the quotation marks, getGEO load the local file with less
warnings:
> gse18154 <- getGEO(filename="GSE17308_series_matrix.txt")
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines,
na.strings,
:
scan() expected 'a real', got 'GSM433039'
Timothy
[[alternative HTML version deleted]]