Skip to content

Commit

Permalink
Do not attempt to import mulea within clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
stitam committed Feb 27, 2024
1 parent 5ff709a commit b258c4e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
9 changes: 3 additions & 6 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

enrichment_test_simulation <- function(DB_of_categories, list_of_all_genes,
pool, selectSize, steps, randomSeed)
{
.Call(`_mulea_enrichment_test_simulation`, DB_of_categories,
list_of_all_genes, pool, selectSize, steps, randomSeed)
}
enrichment_test_simulation <- function(DB_of_categories, list_of_all_genes, pool, selectSize, steps, randomSeed) {
.Call(`_mulea_enrichment_test_simulation`, DB_of_categories, list_of_all_genes, pool, selectSize, steps, randomSeed)
}

1 change: 0 additions & 1 deletion R/set-based-enrichment-test.r
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ set.based.enrichment.test <- function(
# envir = current_env
clusterExport(cl,"seeds_per_thread", envir = current_env)
clusterExport(cl,"steps_per_thread", envir = current_env)
clusterEvalQ(cl, library(mulea))
result_of_paralel <- clusterApplyLB(cl=cl, seq_len(nthread),
function(idx) {
simulation_result_tbl <- tryCatch(
Expand Down
4 changes: 2 additions & 2 deletions man/SetBasedEnrichmentTest-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b258c4e

Please sign in to comment.