about summary refs log tree commit diff
path: root/scripts/rqtl2_wrapper.R
diff options
context:
space:
mode:
authorAlexander_Kabui2025-04-30 16:23:22 +0300
committerAlexander_Kabui2025-04-30 16:23:22 +0300
commitdd9ef90ee89e5c075acbd5ef63cb89518e726ca3 (patch)
treea7eb1e079da568ad6270d59cc9eb7c74f9ae3662 /scripts/rqtl2_wrapper.R
parentf9b21d47f7680691fc48119479cef9bd8ca2f924 (diff)
downloadgenenetwork3-dd9ef90ee89e5c075acbd5ef63cb89518e726ca3.tar.gz
refactor: For genetic probabilites use cores 0 to use all
available of no cores detected.
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 af13efa..c33b6d4 100644
--- a/scripts/rqtl2_wrapper.R
+++ b/scripts/rqtl2_wrapper.R
@@ -169,7 +169,7 @@ MAP <- insert_pseudomarkers(cross$gmap, step = 1, stepwidth = "fixed", cores = N
 
 # Calculate genetic probabilities
 cat("Calculating the genetic probabilities.\n")
-Pr <- perform_genetic_pr(cross)
+Pr <- perform_genetic_pr(cross, cores=0)
 
 # Calculate allele probabilities for 4-way cross
 if (cross$crosstype == "4way") {