pyLM  v1.1
A Python Problem Solving Environment for the simulation of stochastic biological systems
 All Classes Namespaces Files Functions Variables Pages
Functions | Variables
pySTDLM.NetworkVisualization Namespace Reference

Functions

def plotReactionNetwork
 Plot the reaction scheme as a network. More...
 
def plotCMEReactionNetwork
 Plot the reaction scheme as a network. More...
 
def plotRDMEReactionNetwork
 Plot the reaction scheme as a network. More...
 
def plotCMEDynamicReactionNetwork
 Plot the dynamics of the species on the network into a dynamic graph file (extension: .gexf) More...
 

Variables

 hasGexf = True
 

Function Documentation

def pySTDLM.NetworkVisualization.plotCMEDynamicReactionNetwork (   sim,
  filename,
  outfile,
  stride = 1,
  showMax = False,
  showMin = False,
  threshold = -1,
  replicate = 1 
)

Plot the dynamics of the species on the network into a dynamic graph file (extension: .gexf)

Parameters
simA CMESimulation object
filenameAn file from which to read
outfileA filename for which to output without the extension (.gexf)
strideStride through the times (Default=1)
showMaxShow the maximum value achieved over the timecourse on the node (Default=False)
showMinShow the maximum value achieved over the timecourse on the node (Default=False)
thresholdOnly show nodes that attain this value for at least one timepoint of the simulation. Set -1 to show all nodes (Default=-1)
replicateThe replicate to show (Default=1)
def pySTDLM.NetworkVisualization.plotCMEReactionNetwork (   sim,
  filename,
  withRxnNodes = False,
  collapseReversible = False 
)

Plot the reaction scheme as a network.

Parameters
simAn CMESimulation object
filenameA file to which to output
withRxnNodesPlot the graph with reactions as nodes (default: false)
collapseReversibleCollapsee reversible reactions into one node (default: false)
def pySTDLM.NetworkVisualization.plotRDMEReactionNetwork (   sim,
  filename,
  collapseReversible = False 
)

Plot the reaction scheme as a network.

Parameters
simAn RDMESimulation object
filenameA file to which to output
collapseReversibleCollapsee reversible reactions into one node
def pySTDLM.NetworkVisualization.plotReactionNetwork (   sim,
  filename,
  collapseReversible = False 
)

Plot the reaction scheme as a network.

Parameters
simAn RDMESimulation or CMESimulation object
filenameA file to which to output
collapseReversibleCollapsee reversible reactions into one node

Variable Documentation

pySTDLM.NetworkVisualization.hasGexf = True