aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/correlation.py
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-08-16 17:41:49 +0300
committerMuriithi Frederick Muriuki2021-08-16 17:41:49 +0300
commit89d4dbcc074765f07616fa5058ca7df1a5036d05 (patch)
tree2580896397b6a9bb203a7be3b9ee7c931605b5b7 /gn3/api/correlation.py
parent36044483d365a907a9da6ad8a7b3f0dfb0a918e2 (diff)
parent70ed53f03f3d74877d5bc71e49e3a1e65af8b15f (diff)
downloadgenenetwork3-89d4dbcc074765f07616fa5058ca7df1a5036d05.tar.gz
Merge branch 'main' into heatmap_generation
Diffstat (limited to 'gn3/api/correlation.py')
-rw-r--r--gn3/api/correlation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/correlation.py b/gn3/api/correlation.py
index e7e89cf..a3e366e 100644
--- a/gn3/api/correlation.py
+++ b/gn3/api/correlation.py
@@ -5,7 +5,7 @@ from flask import request
from gn3.computations.correlations import compute_all_sample_correlation
from gn3.computations.correlations import compute_all_lit_correlation
-from gn3.computations.correlations import compute_all_tissue_correlation
+from gn3.computations.correlations import compute_tissue_correlation
from gn3.computations.correlations import map_shared_keys_to_values
from gn3.db_utils import database_connector
@@ -78,7 +78,7 @@ def compute_tissue_corr(corr_method="pearson"):
primary_tissue_dict = tissue_input_data["primary_tissue"]
target_tissues_dict = tissue_input_data["target_tissues_dict"]
- results = compute_all_tissue_correlation(primary_tissue_dict=primary_tissue_dict,
+ results = compute_tissue_correlation(primary_tissue_dict=primary_tissue_dict,
target_tissues_data=target_tissues_dict,
corr_method=corr_method)