diff options
author | zsloan | 2021-05-06 22:54:05 +0000 |
---|---|---|
committer | zsloan | 2021-05-06 23:02:05 +0000 |
commit | 2444d60a93ef7c9900ed9a52877bff0ee08fbfb6 (patch) | |
tree | af28b5bd8e84174a8cac6ee1ceb6a605a6b47f48 /wqflask | |
parent | 63ca33f75fcb67ba8c3851c60088b62becb5f735 (diff) | |
download | genenetwork2-2444d60a93ef7c9900ed9a52877bff0ee08fbfb6.tar.gz |
Because each permutations value is returned as an array, need to just take the first item to convert to numbers
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/marker_regression/rqtl_mapping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/rqtl_mapping.py b/wqflask/wqflask/marker_regression/rqtl_mapping.py index cd43577e..b9cb99cc 100644 --- a/wqflask/wqflask/marker_regression/rqtl_mapping.py +++ b/wqflask/wqflask/marker_regression/rqtl_mapping.py @@ -385,7 +385,7 @@ def process_pair_scan_results(result): def process_rqtl_perm_results(num_perm, results): perm_vals = [] for item in results: - perm_vals.append(item) + perm_vals.append(item[0]) perm_output = perm_vals suggestive = np.percentile(np.array(perm_vals), 67) |