A set of species that are explicitly linked by interactions.
The network is a directed multigraph with labeled edges. The nodes in
the graph are the biochemical species involved. The edges represent an
interaction between two species, and the edge label is a reference to the
associated Interaction object.
Method Summary |
|
__init__ (self,
species)
Initializes a new Network object. |
|
__repr__ (self)
Returns a debugging string representation of this network. |
|
__str__ (self)
Returns a string representation of this network. |
|
add_interaction (self,
source,
sink,
interaction)
Adds interaction to this network. |
|
add_species (self,
species)
Adds species to this network. |
|
interactions (self)
Returns list of the unique interactions in this network. |
|
sink (self,
species)
Returns list of unique sinks for species. |
|
sink_interactions (self,
species)
Returns list of (sink, interaction) pairs for species. |
|
source (self,
species)
Returns list of unique sources for species. |
|
source_interactions (self,
species)
Returns list of (source, interaction) pairs for species. |
|
species (self)
Returns list of the species in this network. |