Skip to content

Commit 88c0453

Browse files
committed
changing params.is_binary to accomadate continuous outcome.
1 parent 6d39b33 commit 88c0453

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

scripts/skat.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ genotype_path <- args[4]
181181
weights_type <- args[5]
182182
chr <- args[6]
183183
is_binary <- ifelse(length(args) > 6, as.logical(args[7]), TRUE)
184+
chr <- gsub("chr", "", chr)
184185

185186
result_folder <- "result_folder"
186187
prepare_SKAT_files_per_chr(genotype_path, genotype_prefix)

scripts/skat_unweighted.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ chr <- args[4]
176176
output_folder <- args[5]
177177
is_binary <- ifelse(length(args) > 5, as.logical(args[6]), TRUE)
178178

179+
chr <- gsub("chr", "", chr)
180+
#work on code for result folder
181+
result_folder <- output_folder
182+
179183
# Perform SKAT analysis for the given chromosome
180184
prepare_SKAT_files_per_chr(genotype_path, genotype_prefix)
181185
print("Done creating SKAT genotype")

0 commit comments

Comments
 (0)