diff options
author | Frederick Muriuki Muriithi | 2022-08-10 09:49:51 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-10 09:49:51 +0300 |
commit | 1111128e80ec8e90d811110a3c99bc044ccf451a (patch) | |
tree | d77c2e0c9e84b3233ca2a268862c42f53d8c9515 /gn3 | |
parent | 374cabcb672a0d91eece4b21a83ff3db6afb30bb (diff) | |
download | genenetwork3-1111128e80ec8e90d811110a3c99bc044ccf451a.tar.gz |
enhancements for rust tissue
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/computations/rust_correlation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index e7f6bba..e312651 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -44,7 +44,6 @@ def generate_json_file( return (output_file, tmp_json_file) - def run_correlation( dataset, trait_vals: str, method: str, delimiter: str, corr_type: str = "sample", top_n: int = 500): @@ -75,6 +74,7 @@ def parse_correlation_output(result_file: str, "corr_coefficient": corr_coeff, "p_value": p_val }) + if corr_type == "tissue": return ( trait_name, |