aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/correlations.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-12-22 09:14:04 +0300
committerFrederick Muriuki Muriithi2021-12-24 14:36:15 +0300
commit784447b17d85a618005ac9acfc57f5b7ef8f5169 (patch)
tree222b2f218c4ba84939f15dddf50e186bc53fa5b6 /gn3/computations/correlations.py
parent672c1f2d43961feb59d9549557cb10c4f0b19dcf (diff)
downloadgenenetwork3-784447b17d85a618005ac9acfc57f5b7ef8f5169.tar.gz
Fix typing errors
Diffstat (limited to 'gn3/computations/correlations.py')
-rw-r--r--gn3/computations/correlations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py
index 345b8d7..1b4b3a4 100644
--- a/gn3/computations/correlations.py
+++ b/gn3/computations/correlations.py
@@ -7,6 +7,7 @@ from typing import List
from typing import Tuple
from typing import Optional
from typing import Callable
+from typing import Generator
import scipy.stats
import pingouin as pg
@@ -106,7 +107,7 @@ package :not packaged in guix
def filter_shared_sample_keys(this_samplelist,
- target_samplelist) -> Tuple[List, List]:
+ target_samplelist) -> Generator:
"""Given primary and target sample-list for two base and target trait select
filter the values using the shared keys