pydruglogics.model.InteractionModel

Loads, parses, and manages network interactions, allowing for construction of Boolean models from .sif files, with utilities for filtering and extracting regulators/targets.

InteractionModel.size()

Return the number of interactions.

InteractionModel.print()

Print the current interaction model in a human-readable form.

InteractionModel.get_interaction(index)

Return the dictionary of the interaction at a given index.

InteractionModel.get_target(index)

Return the target node of the interaction at the given index.

InteractionModel.get_activating_regulators(index)

Return the activating regulators for the interaction at the given index.

InteractionModel.get_inhibitory_regulators(index)

Return the inhibitory regulators for the interaction at the given index.

InteractionModel.model_name()

Set the model name.