aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/webqtlCaseData.py
diff options
context:
space:
mode:
authorzsloan2016-05-23 22:23:51 +0000
committerzsloan2016-05-23 22:23:51 +0000
commit29b50856ab9b9ef87b81228b782dd6bebe28b7c1 (patch)
tree5dd197acac06dfaea5aae7823b6e903695207c00 /wqflask/base/webqtlCaseData.py
parentf7520d9a6e05b103bab983c31ef0e53fad59f5e6 (diff)
downloadgenenetwork2-29b50856ab9b9ef87b81228b782dd6bebe28b7c1.tar.gz
Reaper mapping results are now correct and account for samples with two names (like BXD65a)
R/qtl and PYLMM still not working with the change and bootstrap results are also still wrong, so need to fix those issues.
Diffstat (limited to 'wqflask/base/webqtlCaseData.py')
-rwxr-xr-xwqflask/base/webqtlCaseData.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py
index 42763aed..99a34866 100755
--- a/wqflask/base/webqtlCaseData.py
+++ b/wqflask/base/webqtlCaseData.py
@@ -29,8 +29,9 @@ print("Mr. Mojo Risin 2")
class webqtlCaseData(object):
"""one case data in one trait"""
- def __init__(self, name, value=None, variance=None, num_cases=None):
+ def __init__(self, name, value=None, variance=None, num_cases=None, name2=None):
self.name = name
+ self.name2 = name2 # Other name (for traits like BXD65a)
self.value = value # Trait Value
self.variance = variance # Trait Variance
self.num_cases = num_cases # Number of individuals/cases