diff options
author | Frederick Muriuki Muriithi | 2022-10-05 04:57:09 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-10-05 04:58:01 +0300 |
commit | 6f5f94d2d59f2f558697b455f0e4b732e5e958e3 (patch) | |
tree | b81d6d7045781e5715825b91a3fe7aff81cabf33 /wqflask | |
parent | c38bee43c1256c3515bbd1d805745d8dfb8ce390 (diff) | |
download | genenetwork2-6f5f94d2d59f2f558697b455f0e4b732e5e958e3.tar.gz |
bug: Use target dataset when computing tissue correlations
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py index 8d32aaba..51e24cd9 100644 --- a/wqflask/wqflask/correlation/rust_correlation.py +++ b/wqflask/wqflask/correlation/rust_correlation.py @@ -273,7 +273,7 @@ def __compute_tissue_corr__( target_trait_info: tuple): """Compute the tissue correlations""" (this_dataset, this_trait, target_dataset, sample_data) = target_trait_info - trait_symbol_dict = this_dataset.retrieve_genes("Symbol") + trait_symbol_dict = target_dataset.retrieve_genes("Symbol") corr_result_tissue_vals_dict = get_trait_symbol_and_tissue_values( symbol_list=list(trait_symbol_dict.values())) |