pydruglogics.model.InteractionModel module

class pydruglogics.model.InteractionModel.InteractionModel(interactions_file=None, model_name='', remove_self_regulated_interactions=False, remove_inputs=False, remove_outputs=False)

Bases: object

Initializes the InteractionModel from .sif file. :param interactions_file: File path to the .sif file with network interactions. :param model_name: Name for the model. An empty string by default. :param remove_self_regulated_interactions: If True, removes self-regulating interactions (source equals target).False by default. :param remove_inputs: If True, removes nodes without incoming interactions. False by default. :param remove_outputs: If True, removes nodes without outgoing interactions. False by default.

property all_targets: List[str]
get_activating_regulators(index: int) List[str]
get_inhibitory_regulators(index: int) List[str]
get_interaction(index: int) Dict
get_target(index: int) str
property interactions: List[Dict]
property model_name: str
print() None
size() int