aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-12 19:57:01 +0300
committerAlexander Kabui2021-05-12 19:57:01 +0300
commit0f2b3be58b8265858d17581b85cab5ac4f13e097 (patch)
treefee3e8883e959c8608bf811efc4aafdfb20733be /gn3/computations
parent9215c0d412bd885db3c3bbcb5635c22ac932b6f4 (diff)
downloadgenenetwork3-0f2b3be58b8265858d17581b85cab5ac4f13e097.tar.gz
delete unused functions
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/correlations.py23
1 files changed, 0 insertions, 23 deletions
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,