Skip to content

Commit

Permalink
Revert "Update importing mulea functions within clusters"
Browse files Browse the repository at this point in the history
This reverts commit 5b0865d.
  • Loading branch information
stitam committed Feb 29, 2024
1 parent 5b0865d commit bcf40f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/set-based-enrichment-test.r
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ set.based.enrichment.test <- function(
clusterExport(cl,"list_of_all_genes", envir = current_env)
clusterExport(cl,"pool", envir = current_env)
clusterExport(cl,"select", envir = current_env)
clusterExport(cl,"enrichment_test_simulation", envir = current_env)
# clusterExport(cl,"enrichment_test_simulation")
# envir = current_env
clusterExport(cl,"seeds_per_thread", envir = current_env)
clusterExport(cl,"steps_per_thread", envir = current_env)
clusterEvalQ(cl, devtools::load_all())
result_of_paralel <- clusterApplyLB(cl=cl, seq_len(nthread),
function(idx) {
simulation_result_tbl <- tryCatch(
Expand Down

0 comments on commit bcf40f8

Please sign in to comment.