aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorZachary Sloan2013-03-07 23:42:58 +0000
committerZachary Sloan2013-03-07 23:42:58 +0000
commit51db16394ebe5936a2078293c676744b7ea74fc6 (patch)
treeee809a239fdf49b9ee6b6605d71a44bde7d74900 /wqflask/base
parent3624c63e3373cb45ffcc8cfdbb8889765a3b5326 (diff)
downloadgenenetwork2-51db16394ebe5936a2078293c676744b7ea74fc6.tar.gz
Progress bar is now completely working
Still need to figure out the problem that occurred with negative p-values after I refactored the LMM code
Diffstat (limited to 'wqflask/base')
-rwxr-xr-xwqflask/base/data_set.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index c6d67e68..d474302c 100755
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -75,6 +75,7 @@ class Markers(object):
def add_pvalues(self, p_values):
for marker, p_value in itertools.izip(self.markers, p_values):
marker['p_value'] = p_value
+ print("p_value is:", marker['p_value'])
marker['lod_score'] = -math.log10(marker['p_value'])
#Using -log(p) for the LRS; need to ask Rob how he wants to get LRS from p-values
marker['lrs_value'] = -math.log10(marker['p_value']) * 4.61