aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-08-10 09:49:51 +0300
committerFrederick Muriuki Muriithi2022-08-10 09:49:51 +0300
commit1111128e80ec8e90d811110a3c99bc044ccf451a (patch)
treed77c2e0c9e84b3233ca2a268862c42f53d8c9515 /gn3/computations
parent374cabcb672a0d91eece4b21a83ff3db6afb30bb (diff)
downloadgenenetwork3-1111128e80ec8e90d811110a3c99bc044ccf451a.tar.gz
enhancements for rust tissue
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/rust_correlation.py2
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,