GAGE kegg.gsets function does not work: 'names' attribute [1] must be the same length as the vector [0]
4
0
Entering edit mode
@martinhoelzer-8847
Last seen 8.1 years ago
Germany

Hello, 

I am currently installed a new R setup (R-3.2.2) followed by the Bioconductor package

source("http://bioconductor.org/biocLite.R")
biocLite()

and followed by some additonal packages using the biocLite function

- gage

- pathview

Now, when I load gage and pathview and try the following:

 

kg.mouse = kegg.gsets("mouse")

 

I get the following error:

 

Error in names(kg.sets) = paste(species, ks.names, sep = "") : 
  'names' attribute [1] must be the same length as the vector [0]

or

 

Error in FUN(X[[i]], ...) : subscript out of bounds

 

I dont know what to do now. 

 

Thanks for your help,

Martin

gage pathview • 2.2k views
ADD COMMENT
0
Entering edit mode
Luo Weijun ★ 1.6k
@luo-weijun-1783
Last seen 10 months ago
United States
Martin, I can replicate your problem. Actually several other users had the same issue since yesterday. It used to work fine. The problem can be traced back to keggLink() function of KEGGREST package, and further traced to KEGG REST API Linked entries. Some of this API function is broken. For example, the following line used to get all gene-pathway mapping for human, but retrieves nothing now. path.hsa= KEGGREST::keggLink("pathway", "hsa") Anyway, we will contact KEGG and KEGGREST maintainer on this, see if this can be fixed. Weijun -------------------------------------------- On Tue, 9/22/15, martin.hoelzer [bioc] <noreply@bioconductor.org> wrote: Subject: [bioc] GAGE kegg.gsets function does nor work: 'names' attribute [1] must be the same length as the vector [0] To: luo_weijun@yahoo.com Date: Tuesday, September 22, 2015, 4:19 AM Activity on a post you are following on support.bioconductor.org User martin.hoelzer wrote Question: GAGE kegg.gsets function does nor work: 'names' attribute [1] must be the same length as the vector [0]: Hello,� I am currently installed a new R setup (R-3.2.2) followed by the Bioconductor package source("http://bioconductor.org/biocLite.R") biocLite() and followed by some additonal packages using the biocLite function - gage - pathview Now, when I load gage and pathview and try the following: � kg.mouse = kegg.gsets("mouse") � I get the following error: � Error in names(kg.sets) = paste(species, ks.names, sep = "") :� � 'names' attribute [1] must be the same length as the vector [0] or � Error in FUN(X[[i]], ...) : subscript out of bounds � I dont know what to do now.� � Thanks for your help, Martin Post tags: gage, pathview You may reply via email or visit GAGE kegg.gsets function does not work: 'names' attribute [1] must be the same length as the vector [0]
ADD COMMENT
0
Entering edit mode
@martinhoelzer-8847
Last seen 8.1 years ago
Germany

Dear Weijun,

thank you for your reply. Now I can settle down a bit, because I was really thinking about what I am doing wrong after several new R installations and different versions testing. :)

Hopefully this can be fixed soon.

Thanks and kind regards,

Martin 

ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 3.2 years ago
United States

I received an answer from the KEGG team saying this was a problem on their server that has been fixed now. I verified that http://rest.kegg.jp/link/pathway/hsa now works.

 

ADD COMMENT
0
Entering edit mode
@martinhoelzer-8847
Last seen 8.1 years ago
Germany

Hi, yep, for me it is also working now again. Thanks for the help and the information. 

Cheers,
Martin

ADD COMMENT

Login before adding your answer.

Traffic: 742 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