From 070058b43d84140dbb39ad39b0ffbfa92ca31801 Mon Sep 17 00:00:00 2001 From: Saori Sakaue Date: Tue, 13 Aug 2024 15:54:22 -0400 Subject: [PATCH] bug fix in parallelization script --- Parallelized Bash Script/SCENT_parallelization.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parallelized Bash Script/SCENT_parallelization.R b/Parallelized Bash Script/SCENT_parallelization.R index c5ad18b..124d117 100644 --- a/Parallelized Bash Script/SCENT_parallelization.R +++ b/Parallelized Bash Script/SCENT_parallelization.R @@ -24,7 +24,7 @@ output_dir = commandArgs(trailingOnly = T)[7] # Output of each text file to a s SCENT_obj <- readRDS(SCENTobj_rds) #### Get the corresponding dataframe from the list: -SCENT_obj@peak.info <- SCENT_obj@peak.info[[node]] +SCENT_obj@peak.info <- SCENT_obj@peak.info.list[[node]] #### Run SCENT algorithm of Tnk cell type and use 6 cores for parallelization: SCENT_obj <- SCENT_algorithm(SCENT_obj, celltype, cores, regr, bin)