aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask
diff options
context:
space:
mode:
authorzsloan2020-05-12 09:57:13 -0500
committerzsloan2020-05-12 09:57:13 -0500
commit313b6e7d936f3982c9c6c83c909a8e68f7232ceb (patch)
tree49eea452f94cae7de19cb755dcd96aa935f52c05 /wqflask/wqflask
parentecb0a828de3ba744da82a45e1dc7a55906fd5fb1 (diff)
downloadgenenetwork2-313b6e7d936f3982c9c6c83c909a8e68f7232ceb.tar.gz
Added change for F2s in r/qtl and fixed minor issue in save_user in redis_tools
Diffstat (limited to 'wqflask/wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/rqtl_mapping.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/wqflask/marker_regression/rqtl_mapping.py b/wqflask/wqflask/marker_regression/rqtl_mapping.py
index dd35d89a..ecce9a07 100644
--- a/wqflask/wqflask/marker_regression/rqtl_mapping.py
+++ b/wqflask/wqflask/marker_regression/rqtl_mapping.py
@@ -156,6 +156,9 @@ def generate_cross_from_geno(dataset, scale_units): # TODO: Need to figur
if(type == '4-way'){
cat('Loading in as 4-WAY\n')
cross = read.cross(file=out, 'csvr', genotypes=genocodes, crosstype="4way", convertXdata=FALSE) # Load the created cross file using R/qtl read.cross
+ }else if(type == 'f2'){
+ cat('Loading in as F2\n')
+ cross = read.cross(file=out, 'csvr', genotypes=genocodes, crosstype="f2") # Load the created cross file using R/qtl read.cross
}else{
cat('Loading in as normal\n')
cross = read.cross(file=out, 'csvr', genotypes=genocodes) # Load the created cross file using R/qtl read.cross