Hi,
I am trying to do a metabolite set enrichment analysis, and I face the following error only for KEGG . Is there anyone who as already found a fix ?
Thanks in advance …please see my codes herewith ?
mSet2 ← InitDataObjects(“list”, “msetora”, FALSE)
cmpd.vec ← mummichog_matched_compound_all$Matched.Compound
mSet2<-Setup.MapData(mSet2, cmpd.vec)
mSet2<-CrossReferencing(mSet2, “kegg”)
[1] “Loaded files from MetaboAnalyst web-server.”
[1] “1” “Name matching OK, please inspect (and manual correct) the results then proceed.”
mSet2<-CreateMappingResultTable(mSet2)
[1] “Loaded files from MetaboAnalyst web-server.”
mSet2<-SetKEGG.PathLib(mSet2, “mmu”, “current”)
mSet2<-SetMetabolomeFilter(mSet2, T)
mSet2<-CalculateOraScore(mSet2, “rbc”, “hyperg”)
[1] “Loaded files from MetaboAnalyst web-server.”
[1] “Failed to connect to the API Server!”
[1] "Failed to perform pathway analysis