View source: R/computeScoreTN.R
computeScoreTN | R Documentation |
The bitString made of 0 and 1 allows to select a submodel from the model provided.
Then, the simulator function are called to compute the objective function. The
sizeFac and NAFac are penalties added to the final score as described in
gaBinaryTN
.
computeScoreTN(CNOlist, model, simList=NULL, indexList=NULL, simResPrev=NULL,
bStringPrev=NULL, bStringNext=NULL, timeIndex=NULL, sizeFac=0.0001, NAFac=1, bStrings=NULL)
CNOlist |
a CNOlist structure, as created by |
model |
a model structure, as created by codereadSIF, normally pre-processed but that is not a requirement of this function. |
simList |
a simList as created by |
indexList |
a list of indexes of the species stimulated/inhibited/measured in the
model, as created by |
simResPrev |
Results of Previous simulation at time TN-1 step. |
bStringPrev |
the best bitString at time TN-1 |
bStringNext |
the bitString to use to compute the score at time TN |
timeIndex |
Future feature will allows timeIndex to provide the exact list of indices to cut and plot. For now, it is based on the bitStrings provided. |
sizeFac |
the scaling factor for the size term in the objective function, default to 0.0001 |
NAFac |
the scaling factor for the NA term in the objective function, default to 1 |
bStrings |
list of optimised bitstrings found at the previous time points |
score |
See |
T. Cokelaer, S.Schrier
data(CNOlistToy2,package="CellNOptR")
data(ToyModel2,package="CellNOptR")
model <- preprocessing(CNOlistToy2, ToyModel2)
bStringT1 = c(0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1)
simT1<-simulateTN(CNOlist=CNOlistToy2, model=model, bStrings=list(bStringT1))
score1 = computeScoreTN(CNOlistToy2, model, bStrings=list(bStringT1,c(1,0,1,0)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.