about summary refs log tree commit diff
path: root/scripts/rqtl2_wrapper.R
diff options
context:
space:
mode:
authorAlexander_Kabui2024-10-29 20:31:42 +0300
committerAlexander_Kabui2024-10-29 20:31:42 +0300
commit4c303f6c43173c1b87f6f675b1db865f4c25a7b0 (patch)
treef3697a1a0f023dc2de6066935074afbeeb9d592e /scripts/rqtl2_wrapper.R
parent82ae3c5c7efa710d34b11e28c89c608a475e9071 (diff)
downloadgenenetwork3-4c303f6c43173c1b87f6f675b1db865f4c25a7b0.tar.gz
Refactor: make plot in the temp directory passed in the script arguments.
Diffstat (limited to 'scripts/rqtl2_wrapper.R')
-rw-r--r--scripts/rqtl2_wrapper.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rqtl2_wrapper.R b/scripts/rqtl2_wrapper.R
index cdbbd17..ab3fa3e 100644
--- a/scripts/rqtl2_wrapper.R
+++ b/scripts/rqtl2_wrapper.R
@@ -330,7 +330,7 @@ generate_lod_plot <- function(cross, scan_result, method, base_dir = ".") {
 }
 
 
-lod_plot_path <- generate_lod_plot(dataset, scan_results, "HK")
+lod_plot_path <- generate_lod_plot(dataset, scan_results, "HK", base_dir=opt$directory)
 lod_plot_path