pypath.inputs.adrecs.AdrecsTerm§

class pypath.inputs.adrecs.AdrecsTerm(adrecs_class, badd, name, synonyms, meddra)[source]§

Bases: NamedTuple

__init__()§

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

adrecs_class

Alias for field number 0

badd

Alias for field number 1

meddra

Alias for field number 4

name

Alias for field number 2

synonyms

Alias for field number 3

adrecs_class: str§

Alias for field number 0

badd: str§

Alias for field number 1

count(value, /)§

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)§

Return first index of value.

Raises ValueError if the value is not present.

meddra: str§

Alias for field number 4

name: str§

Alias for field number 2

synonyms: tuple[str]§

Alias for field number 3