From b7e8f80e9ff0afad141fe69e33882f5832d5ba52 Mon Sep 17 00:00:00 2001 From: Holger Brandl Date: Mon, 30 Jan 2017 21:23:16 +0100 Subject: [PATCH] added debug configuration --- R/bio/enrichr_wrapper.R | 1 + R/core_commons.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/R/bio/enrichr_wrapper.R b/R/bio/enrichr_wrapper.R index 1845f71..5558693 100644 --- a/R/bio/enrichr_wrapper.R +++ b/R/bio/enrichr_wrapper.R @@ -23,6 +23,7 @@ enrichr = function(geneSymbols, listName=NULL, ontologies=c("GO_Biological_Proce # quote({ enrReusults = ontologies %>% map_df(function(ontology){ + # ontology = "ENCODE_TF_ChIP" # enrichr-api/query_enrichr_py3.py ${geneList} "wgcna module ${geneList}" ENCODE_Histone_Modifications_2015 ${geneList}.encode_hist_meth_2015.enrresults.txt resultsFile = tempfile(fileext=".txt") diff --git a/R/core_commons.R b/R/core_commons.R index 088ae4d..2befbc5 100644 --- a/R/core_commons.R +++ b/R/core_commons.R @@ -55,7 +55,7 @@ load_pack <- function(x, warn_conflicts=T){ install_package(x) ## load it using a library function so that load_pack errors if package is still not ins - eval(parse(text=paste("library(", x, ", quietly=T, warn.conflicts=", warn_conflicts, ")", sep=""))) + eval(parse(text=paste("base::library(", x, ", quietly=T, warn.conflicts=", warn_conflicts, ")", sep=""))) } -- GitLab