Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SynTracker.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source("add_metadata_fields.R")
# 1. input folder (output folder specified in find_overlapping_regions.sh )
# 2. output folder
# 3.number of cores
# 3. Flag: save RDS/not save RDS ("--intermediate", "--no_indermediate"). If not provided the script fails
# 3. Flag: save RDS/not save RDS ("--intermediate", "--no_intermediate"). If not provided the script fails
# 4. Flag: use set.seed or not for the subsampling of n regions: ("--use.setseed", "--setseed.off"). If not provided the script fails
# 5. metadata: metadata file, should include the sample ID, and any other relevant fields

Expand All @@ -29,7 +29,7 @@ input_directory<-args[1]
output_folder<-args[2]
core_number<-args[3]
save_intermediate_objects<-args[4]
stopifnot(save_intermediate_objects %in% c("--intermediate", "--no_indermediate"))
stopifnot(save_intermediate_objects %in% c("--intermediate", "--no_intermediate"))
set_seed_arg<-args[5]
stopifnot(set_seed_arg %in% c("--use.setseed", "--setseed.off"))
if(length(args)==6) {
Expand Down