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
35
36
37
38
39
40
41
42
43
44
class GWASEffect(NamedTuple):
    """Components of GWAS effect.

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

    beta: Column
    standard_error: Column

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
23
24
25
26
27
28
29
30
31
32
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