simulateT1 | R Documentation |
This function cuts a model according to a bitstring optimised at T1, and simulates the model accordingly.
simulateT1(CNOlist, model, bStringT1, simList, indexList)
CNOlist |
a CNOlist object |
model |
a full model |
bStringT1 |
a bitstring to cut the model, as output by |
simList |
a list of additional fields for simulation as created by |
indexList |
a list of indexes as created by indexFinder |
This function is a wrapper for simulatorT1, that cuts the model before simulating it
a matrix of simulated values, including all species in the model, i.e. to be
used as input of gaBinaryTN (not implemented here) but not to be used directly
in plotOptimResults.
C.Terfve
cutAndPlotOptimResultsT1, simulatorT1
# This will compute the output of a random model obtained by randomly selecting
# which gates of the initial models are included.
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
indicesToy<-indexFinder(CNOlistToy,ToyModel,verbose=FALSE)
ToyFields4Sim<-prep4sim(ToyModel)
simRes<-simulateT1(
CNOlist=CNOlistToy,
model=ToyModel,
bStringT1=round(runif(length(ToyModel$reacID))),
simList=ToyFields4Sim,
indexList=indicesToy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.