Skip to content

types

gentropy.common.types

Types and type aliases used in the package.

GWASEffect

Bases: NamedTuple

Components of GWAS effect.

Attributes:

Name Type Description
beta Column

Effect.

standard_error Column

Effect standard error.

Source code in src/gentropy/common/types.py
50
51
52
53
54
55
56
57
58
59
class GWASEffect(NamedTuple):
    """Components of GWAS effect.

    Attributes:
        beta (Column): Effect.
        standard_error (Column): Effect standard error.
    """

    beta: Column
    standard_error: Column

LDPopulation

Bases: Enum

Enum representing GnomAD LD populations.

Source code in src/gentropy/common/types.py
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
class LDPopulation(Enum):
    """Enum representing GnomAD LD populations."""

    AFR = "afr"
    """African population"""
    AMR = "amr"
    """American population"""
    ASJ = "asj"
    """Ashkenazi Jewish population"""
    EAS = "eas"
    """East Asian population"""
    NFE = "nfe"
    """Non-Finnish European population"""
    EST = "est"
    """Estonian population"""
    FIN = "fin"
    """Finnish population"""
    NWE = "nwe"
    """North-Western European population"""
    SEU = "seu"
    """Southern European population"""
    CSA = "csa"
    """Central/South Asian population"""
AFR = 'afr' class-attribute instance-attribute

African population

AMR = 'amr' class-attribute instance-attribute

American population

ASJ = 'asj' class-attribute instance-attribute

Ashkenazi Jewish population

CSA = 'csa' class-attribute instance-attribute

Central/South Asian population

EAS = 'eas' class-attribute instance-attribute

East Asian population

EST = 'est' class-attribute instance-attribute

Estonian population

FIN = 'fin' class-attribute instance-attribute

Finnish population

NFE = 'nfe' class-attribute instance-attribute

Non-Finnish European population

NWE = 'nwe' class-attribute instance-attribute

North-Western European population

SEU = 'seu' class-attribute instance-attribute

Southern European population

PValComponents

Bases: NamedTuple

Components of p-value.

Attributes:

Name Type Description
mantissa Column

Mantissa of the p-value.

exponent Column

Exponent of the p-value.

Source code in src/gentropy/common/types.py
38
39
40
41
42
43
44
45
46
47
class PValComponents(NamedTuple):
    """Components of p-value.

    Attributes:
        mantissa (Column): Mantissa of the p-value.
        exponent (Column): Exponent of the p-value.
    """

    mantissa: Column
    exponent: Column