aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorAlexander Kabui2021-08-11 09:18:19 +0300
committerGitHub2021-08-11 09:18:19 +0300
commit95eb105421d7fbe0b0ebf1de2f89a558eecbf0da (patch)
treeaadc8d5b9b066214dc102c762de5a6a0aa13d0b1 /gn3/api
parente0476d51603432f60b6412b65486166deabe9e08 (diff)
downloadgenenetwork3-95eb105421d7fbe0b0ebf1de2f89a558eecbf0da.tar.gz
use normal function for correlation (#34)
* use normal function for correlation + rename functions * update test for sample correlation * use normal function for tissue correlation + rename functions
Diffstat (limited to 'gn3/api')
-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)