Skip to content

Commit 556dc75

Browse files
fixed rpca
1 parent d3db34b commit 556dc75

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/integration/seurat_integration.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ library('logger')
55
# Constants
66
SAMPLE_COLUMN <- "sample"
77
INTEGRATION_DIMS <- 1:30
8-
MAX_FUTURE_GLOBALS_SIZE <- 8000 * 1024^2
8+
MAX_FUTURE_GLOBALS_SIZE <- 1000000 * 1024^2
99

1010
#' Run integration on Seurat data
1111
#' @param data Seurat object
@@ -27,6 +27,7 @@ run_integration <- function(data, features, reduction_type) {
2727
}
2828

2929
logger::log_info("Setting future globals max size to {MAX_FUTURE_GLOBALS_SIZE} bytes")
30+
plan("multicore", workers = 5)
3031
options(future.globals.maxSize = MAX_FUTURE_GLOBALS_SIZE)
3132

3233
logger::log_info("Splitting data by sample column: {SAMPLE_COLUMN}")

0 commit comments

Comments
 (0)