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.
|
|
|
|
|
|
|
add_species(self,
species)
Adds species to this network. |
source code
|
|
|
add_interaction(self,
source,
sink,
interaction)
Adds interaction to this network. |
source code
|
|
|
source(self,
species)
Returns list of unique sources for species. |
source code
|
|
|
source_interactions(self,
species)
Returns list of (source, interaction) pairs for species. |
source code
|
|
|
sink(self,
species)
Returns list of unique sinks for species. |
source code
|
|
|
sink_interactions(self,
species)
Returns list of (sink, interaction) pairs for species. |
source code
|
|
|
species(self)
Returns list of the species in this network. |
source code
|
|
|
interactions(self)
Returns list of the unique interactions in this network. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|