pathview - cannot open URL : HTTP status was '403 Forbidden'
1
1
Entering edit mode
3.2 years ago
Itamar ▴ 10

Hi, I'm trying to use "pathview" on my data. after a long struggle with the package, eventually the following example code produce the error below:

> data(gse16873.d)
> pv.out <- pathview(gene.data = gse16873.d[, 1], pathway.id = "04110",
                         species = "hsa", out.suffix = "gse16873")

[1] "Downloading xml files for hsa04110, 1/1 pathways.."
[1] "Downloading png files for hsa04110, 1/1 pathways.."
Parsing ./hsa04110.xml file failed, please check the file!
Warning message:
In download.file(xml.url, xml.target, quiet = T) :
  cannot open URL 'https://www.genome.jp/kegg-bin/download?entry=hsa04110&format=kgml': HTTP status was '403 Forbidden'

checking the given URL (by the error prompt) in the browser does result in page which only says "forbidden".

My question is, is the problem on my end (see session info below) or is there currently something wrong with Kegg's web databases, API etc.

Thanks in advance.

Edit:

The problem was solved by removing the "pathview" package, then reinstalling it by:

devtools::install_github("javadnoorb/pathview")

A second problem which popped later was solved by:

rm(korg)
R kegg pathview • 1.9k views
ADD COMMENT
0
Entering edit mode

see Edit

ADD REPLY
0
Entering edit mode
13 months ago
lianchee11 ▴ 70

It has solved my problem perfectly, thanks for the sharing!

ADD COMMENT

Login before adding your answer.

Traffic: 5757 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6