Skip to content

Commit

Permalink
convert to numeric arguments in commandArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
saorisakaue committed Aug 13, 2024
1 parent 070058b commit ebd76aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Parallelized Bash Script/SCENT_parallelization.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ library(SCENT)

####### INPUTS
#Obtain arguments: (from Cluster)
node = commandArgs(trailingOnly = T)[1] # JOB ARRAY number: node usage
cores = commandArgs(trailingOnly = T)[2] # numeric. Number of Cores
node = as.numeric(commandArgs(trailingOnly = T)[1]) # JOB ARRAY number: node usage
cores = as.numeric(commandArgs(trailingOnly = T)[2]) # numeric. Number of Cores
SCENTobj_rds = commandArgs(trailingOnly = T)[3] # RDS object file type
celltype = commandArgs(trailingOnly = T)[4] # character. CellType
regr = commandArgs(trailingOnly = T)[5] # character. Regression Type
Expand Down

0 comments on commit ebd76aa

Please sign in to comment.