Skip to content

Commit

Permalink
Merge pull request #91 from saezlab/main
Browse files Browse the repository at this point in the history
main to dev
  • Loading branch information
ChristinaSchmidt1 authored Jan 15, 2025
2 parents 3b5166a + 6223131 commit 2176ffc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Authors@R: c(
person("Denes", "Turei", role = "aut",
comment = c(ORCID = "0000-0002-7249-9379")),
person("Macabe", "Daley", role = "aut",
comment = c(ORCID = "0000-0002-8026-7068"))),
comment = c(ORCID = "0000-0002-8026-7068")),
person("Julio", "Saez-Rodriguez", role = "aut",
comment = c(ORCID = "0000-0002-8552-8976")),
person("Christian", "Frezza", role = "aut",
Expand Down
6 changes: 6 additions & 0 deletions R/GetPriorKnoweldge.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ LoadKEGG <- function(){
KEGG_Metabolite <- readRDS(File_path)
message("Cached file loaded from: ", File_path)
}else{# load from KEGG
RequiredPackages <- c("KEGGREST")
new.packages <- RequiredPackages[!(RequiredPackages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)

suppressMessages(library(KEGGREST))

# 1. Make a list of all available human pathways in KEGG
Pathways_H <- as.data.frame(KEGGREST::keggList("pathway", "hsa")) # hsa = human

Expand Down

0 comments on commit 2176ffc

Please sign in to comment.