Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

R and bioconductor, why is the getGEO() function generating the error "Error in open.connection(x, "rb") : HTTP error 404"?

$
0
0

I am using R (version 3.4.4) on a computer running Linux Ubuntu 18.04.3 LTS. I am trying to download a dataset from Gene Expression Omnibus (GEO) with the function getGEO() of the bioconductor package GEOquery. The dataset GEO code is GSE134381.

Unexpectedly, the getGEO() generates an HTTP error 404. How to fix it?

I am using the following R commands:

setwd(".")
options(stringsAsFactors = FALSE)

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("GEOquery")
library(GEOquery)

GSE_code <- "GSE134381"
gset <- getGEO(GSE_code, GSEMatrix =TRUE, getGPL=FALSE)

and it generates the following error:

Error in open.connection(x, "rb") : HTTP error 404.

How to solve this problem? Why is it happening?

Thanks!


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>