Study Index
gentropy.datasource.ukb_ppp_eur.study_index.UkbPppEurStudyIndex
dataclass
¶
Bases: StudyIndex
Study index dataset from UKB PPP (EUR).
Source code in src/gentropy/datasource/ukb_ppp_eur/study_index.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|
from_source(spark: SparkSession, raw_study_index_path: str, raw_summary_stats_path: str) -> StudyIndex
classmethod
¶
This function ingests study level metadata from UKB PPP (EUR).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
spark |
SparkSession
|
Spark session object. |
required |
raw_study_index_path |
str
|
Raw study index path. |
required |
raw_summary_stats_path |
str
|
Raw summary stats path. |
required |
Returns:
Name | Type | Description |
---|---|---|
StudyIndex |
StudyIndex
|
Parsed and annotated UKB PPP (EUR) study table. |
Source code in src/gentropy/datasource/ukb_ppp_eur/study_index.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|