about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-12-20 17:52:30 +0300
committerAlexander_Kabui2024-12-20 17:52:30 +0300
commitdd37daf60353f125eaed6fb5d99fe65634bcede6 (patch)
tree079d89df60feebde35d39b6e2dcb757991bb7513
parent90a39a513da56612da1b2d5e3268b04922568db8 (diff)
downloadgenenetwork3-dd37daf60353f125eaed6fb5d99fe65634bcede6.tar.gz
feat: Enable verbose for script by default.
-rw-r--r--scripts/rqtl_wrapper.R5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/rqtl_wrapper.R b/scripts/rqtl_wrapper.R
index 31c1277..dd19281 100644
--- a/scripts/rqtl_wrapper.R
+++ b/scripts/rqtl_wrapper.R
@@ -24,7 +24,7 @@ option_list = list(
   make_option(c("--control"), type="character", default=NULL, help="Name of marker (contained in genotype file) to be used as a control"),
   make_option(c("-o", "--outdir"), type="character", default=file.path(tmp_dir, "gn3"), help="Directory in which to write result file"),
   make_option(c("-f", "--filename"), type="character", default=NULL, help="Name to use for result file"),
-  make_option(c("-v", "--verbose"), action="store_true", default=NULL, help="Show extra information")
+  make_option(c("-v", "--verbose"), action="store_true", default=TRUE, help="Show extra information")
 );
 
 opt_parser = OptionParser(option_list=option_list);
@@ -353,5 +353,8 @@ if (!is.null(opt$pairscan)) {
     colnames(qtl_results)[4:7] <- c("AC", "AD", "BC", "BD")
   }
 
+
   write.csv(qtl_results, out_file)
 }
+
+