Skip to content

deeporigin.drug_discovery.konnektor.KonnektorResult

KonnektorResult holds the output of a Konnektor run: the resolved ligand pairs, whether the network is connected, and an interactive network visualization you can display with show_network().

Result of a successful Konnektor synchronous run.

Attributes:

Name Type Description
pairs list[tuple[Ligand, Ligand]]

Resolved ligand pairs from the planned network edges.

is_connected bool

Whether the generated network is fully connected.

network_html str

Inline interactive network visualization HTML.

Attributes

is_connected instance-attribute

is_connected: bool

network_html instance-attribute

network_html: str

pairs instance-attribute

pairs: list[tuple[Ligand, Ligand]]

Methods:

show_network

show_network() -> None

Display the network visualization in IPython.