This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Curl failure in receiving data for downloading gene sets from KEGG

Hi, I would like to obtain gene sets for use with pathfindR, but I get this error:

Error in curl::curl_fetch_memory(url, handle = handle) : 
  Failure when receiving data from the peer

I have used these two commands, but both gave me the same error. I used VPN connection but did not help. I'd appreciate any solution or workaround for it:

From gage: getGenesets(org = "sce", db = "kegg", cache = TRUE, return.type="list")
From pathfindR: get_gene_sets_list(source = "KEGG",org_code = "sce")
pathfindr kegg gage geneset

1 answer

Found a solution:

Download gene set by clusterprofiler: gsets = download_KEGG("organism name") genes<- gsets$KEGGPATHID2EXTID descriptions <- unlist(gsets$KEGGPATHID2NAME)

Log in to answer this question.