pypath.inputs.pathwaycommons.PathwayCommonsInteraction§

class pypath.inputs.pathwaycommons.PathwayCommonsInteraction(id_a, interaction_type, id_b, resource)§

Bases: tuple

__init__()§

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

id_a

Alias for field number 0

id_b

Alias for field number 2

interaction_type

Alias for field number 1

resource

Alias for field number 3

count(value, /)§

Return number of occurrences of value.

id_a§

Alias for field number 0

id_b§

Alias for field number 2

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

Return first index of value.

Raises ValueError if the value is not present.

interaction_type§

Alias for field number 1

resource§

Alias for field number 3