[BioC] [ArrayExpress] Multiple keyword search via queryAE

Skanda [guest] guest at bioconductor.org
Thu Jun 14 19:45:15 CEST 2012


Hi there!

I am trying to queryAE the following on ArrayExpress:

Crohns_Series <- queryAE("\"Crohn's+Disease\"", "homo+sapiens")

but get the following error:
Error in download.file(qr, queryfilename, mode = "wb") : 
  cannot open destfile 'query"Crohn's+Disease"homo+sapiens.xml', reason 'Invalid argument'
Error: XML content does not seem to be XML, nor to identify a file name 'query"Crohn's+Disease"homo+sapiens.xml'

I suspect that, because I am trying a multiple word keyword search on ArrayExpress (all tied together with quotes), it tries to save the XML file with the quotes in the filename and thus is errors out. It works without the internal quotes (i.e. \"), but the results are not the same.

Is this actually the problem? Is there a work around this?

Thanks!

 -- output of sessionInfo(): 

R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] compiler  stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ArrayExpress_1.16.0 Biobase_2.16.0      BiocGenerics_0.2.0  BiocInstaller_1.4.6

loaded via a namespace (and not attached):
[1] affy_1.34.0           affyio_1.24.0         limma_3.12.1          preprocessCore_1.18.0 tools_2.15.0          XML_3.9-4.1          
[7] zlibbioc_1.2.0 

--
Sent via the guest posting facility at bioconductor.org.



More information about the Bioconductor mailing list