simulateTN {CellNOptR} | R Documentation

## Cut and simulation of a boolean model at t1

### Description

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

### Usage

    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

    # 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)))))

[Package CellNOptR version 1.32.0 Index]