Study Locus Overlap
Schema
root
|-- leftStudyLocusId: long (nullable = false)
|-- rightStudyLocusId: long (nullable = false)
|-- chromosome: string (nullable = false)
|-- tagVariantId: string (nullable = false)
|-- statistics: struct (nullable = false)
| |-- left_pValueMantissa: float (nullable = true)
| |-- left_pValueExponent: integer (nullable = true)
| |-- right_pValueMantissa: float (nullable = true)
| |-- right_pValueExponent: integer (nullable = true)
| |-- left_beta: double (nullable = true)
| |-- right_beta: double (nullable = true)
| |-- left_logABF: double (nullable = true)
| |-- right_logABF: double (nullable = true)
| |-- left_posteriorProbability: double (nullable = true)
| |-- right_posteriorProbability: double (nullable = true)
API
Bases: Dataset
Study-Locus overlap.
This dataset captures pairs of overlapping StudyLocus
: that is associations whose credible sets share at least one tagging variant.
Note
This is a helpful dataset for other downstream analyses, such as colocalisation. This dataset will contain the overlapping signals between studyLocus associations once they have been clumped and fine-mapped.
Source code in src/otg/dataset/study_locus_overlap.py
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 |
|
from_associations(study_locus, study_index)
classmethod
Find the overlapping signals in a particular set of associations (StudyLocus dataset).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
study_locus | StudyLocus | Study-locus associations to find the overlapping signals | required |
study_index | StudyIndex | Study index to find the overlapping signals | required |
Returns:
Name | Type | Description |
---|---|---|
StudyLocusOverlap | StudyLocusOverlap | Study-locus overlap dataset |
Source code in src/otg/dataset/study_locus_overlap.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|
get_schema()
classmethod
Provides the schema for the StudyLocusOverlap dataset.
Source code in src/otg/dataset/study_locus_overlap.py
27 28 29 30 |
|