Cut and simulation of a boolean model at t1

Share:

Description

This function cuts a model according to a bitstring optimised at T1, and simulates the model accordingly.

Usage

1
simulateTN(CNOlist, model, bStrings)

Arguments

CNOlist

a CNOlist object

model

a full model

bStrings

a bitstring to cut the model, as output by gaBinaryT1 (i.e. a vector of 1s and 0s, of length equal to the number of reactions in the model)

Details

This function is a wrapper around the family of functions called simulatorT1 , T2 and TN.

Value

a matrix of simulated values, including all species in the model, i.e. to be used as input of gaBinaryTN.

Author(s)

T.Cokelaer, S.Schrier based on simulatorT1 (C.Terfve)

See Also

cutAndPlotResultsT1, simulatorT1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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")

simRes<-simulateTN(
	CNOlist=CNOlistToy, 
	model=ToyModel, 
	bStrings=list(round(runif(length(ToyModel$reacID)))))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.