From 0f2b3be58b8265858d17581b85cab5ac4f13e097 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 12 May 2021 19:57:01 +0300 Subject: delete unused functions --- gn3/computations/correlations.py | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'gn3/computations') diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py index 2a4854b..d496cec 100644 --- a/gn3/computations/correlations.py +++ b/gn3/computations/correlations.py @@ -199,29 +199,6 @@ def benchmark_compute_all_sample(this_trait, return corr_results -def tissue_lit_corr_for_probe_type(corr_type: str, top_corr_results): - """Function that does either lit_corr_for_trait_list or tissue_corr _for_trait -list depending on whether both dataset and target_dataset are both set to -probet - - """ - - corr_results = {"lit": 1} - - if corr_type not in ("lit", "literature"): - - corr_results["top_corr_results"] = top_corr_results - # run lit_correlation for the given top_corr_results - if corr_type == "tissue": - # run lit correlation the given top corr results - pass - if corr_type == "sample": - pass - # run sample r correlation for the given top results - - return corr_results - - def tissue_correlation_for_trait( primary_tissue_vals: List, target_tissues_values: List, -- cgit v1.2.3