From 51db16394ebe5936a2078293c676744b7ea74fc6 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Thu, 7 Mar 2013 23:42:58 +0000 Subject: 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 --- wqflask/base/data_set.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wqflask/base') 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 -- cgit v1.2.3