diff options
author | Frederick Muriuki Muriithi | 2021-10-26 09:23:48 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-10-26 09:23:48 +0300 |
commit | 79c56677d32fb0b7ed05d22df3813def8f14b89a (patch) | |
tree | c9ff238901ce6b50728114fc36e626d2cf194706 | |
parent | 39493a3e6b381bc94b54b48657b1f2ac829e4bb2 (diff) | |
download | genenetwork3-79c56677d32fb0b7ed05d22df3813def8f14b89a.tar.gz |
Stub out `batch_computed_tissue_correlation` function
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
* Stub out `batch_computed_tissue_correlation` function to be used in
implementing the function down the line.
-rw-r--r-- | gn3/db/correlations.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gn3/db/correlations.py b/gn3/db/correlations.py index f43b8a5..54d3079 100644 --- a/gn3/db/correlations.py +++ b/gn3/db/correlations.py @@ -281,6 +281,14 @@ def fetch_gene_symbol_tissue_value_dict_for_trait( return fetch_gene_symbol_tissue_value_dict(xref_info[0], xref_info[2], conn) return {} +def batch_computed_tissue_correlation( + trait_value: str, symbol_value_dict: dict, + method: str = "pearson") -> Tuple[dict, dict]: + """ + `web.webqtl.correlation.correlationFunction.batchCalTissueCorr`""" + raise Exception("Not implemented!") + return ({}, {}) + def correlations_of_all_tissue_traits( trait_symbol: str, probeset_freeze_id: int, method: str, conn: Any) -> Tuple[dict, dict]: |