diff options
Diffstat (limited to 'gn3/computations')
-rw-r--r-- | gn3/computations/rust_correlation.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index 7176284..357b3cc 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -79,7 +79,11 @@ def parse_correlation_output(result_file: str, { "tissue_corr": corr_coeff, "tissue_number": num_overlap, - "tissue_p_val": p_val + "tissue_p_val": p_val, + # The fields below are mandatory + "p_value": p_val, + "num_overlap": num_overlap, + "corr_coefficient": corr_coeff }) return tuple(trait_name, {}) |