pypath.inputs.adrecs.AdrecsDrug§

class pypath.inputs.adrecs.AdrecsDrug(badd, drug, synonyms, drugbank, pubchem_cid, mesh, kegg, tdd)[source]§

Bases: NamedTuple

__init__()§

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

badd

Alias for field number 0

drug

Alias for field number 1

drugbank

Alias for field number 3

kegg

Alias for field number 6

mesh

Alias for field number 5

pubchem_cid

Alias for field number 4

synonyms

Alias for field number 2

tdd

Alias for field number 7

badd: str§

Alias for field number 0

count(value, /)§

Return number of occurrences of value.

drug: str§

Alias for field number 1

drugbank: str§

Alias for field number 3

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

Return first index of value.

Raises ValueError if the value is not present.

kegg: str§

Alias for field number 6

mesh: str§

Alias for field number 5

pubchem_cid: str§

Alias for field number 4

synonyms: str§

Alias for field number 2

tdd: str§

Alias for field number 7