aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/correlations.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-12 19:52:21 +0300
committerAlexander Kabui2021-05-12 19:52:21 +0300
commit9215c0d412bd885db3c3bbcb5635c22ac932b6f4 (patch)
tree9fa10dec7551169ebea7059caadfa372f53e3cba /gn3/computations/correlations.py
parentf88a2c3161c71d58c91c3030bd303a86846c5a73 (diff)
downloadgenenetwork3-9215c0d412bd885db3c3bbcb5635c22ac932b6f4.tar.gz
rename lit_correlation_for_trait_list to lit_correlation_for_trait
Diffstat (limited to 'gn3/computations/correlations.py')
-rw-r--r--gn3/computations/correlations.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py
index 21bc82e..2a4854b 100644
--- a/gn3/computations/correlations.py
+++ b/gn3/computations/correlations.py
@@ -287,7 +287,7 @@ def fetch_lit_correlation_data(
return (gene_id, 0)
-def lit_correlation_for_trait_list(
+def lit_correlation_for_trait(
conn,
target_trait_lists: List,
species: Optional[str] = None,
@@ -361,9 +361,9 @@ def map_to_mouse_gene_id(conn, species: Optional[str],
def compute_all_lit_correlation(conn, trait_lists: List,
species: str, gene_id):
"""Function that acts as an abstraction for
- lit_correlation_for_trait_list"""
+ lit_correlation_for_trait"""
- lit_results = lit_correlation_for_trait_list(
+ lit_results = lit_correlation_for_trait(
conn=conn,
target_trait_lists=trait_lists,
species=species,