Description Usage Arguments Value Author(s) See Also Examples
This function takes a model and an optimised bitstring, it cuts the model according to the bitstring and plots the results of the simulation along with the experimental data.
1 2 |
model |
a model (the full one that was used for optimisation) |
bString |
a bitstring for T1 as output by gaBinaryT1 (i.e. a vector of 1s and 0s) |
simList |
deprecated argument kept for back compatibility. a simlist corresponding to the model, as output by prep4sim |
CNOlist |
a CNOlist, corresponding to the optimisation one |
indexList |
deprecated argument kept for back compatibility. an indexList, produced by indexFinder ran on the model and the CNOlist above |
plotPDF |
TRUE or FALSE; tells whether you want a pdf to be produced or not |
tag |
NULL or string; tells whether you want to prefix filenames with a tag (replaces the default behaviour). |
tPt |
The number of time points in the data. |
plotParams |
a list of option related to the PDF and plotting outputs. (1) maxrow is the maximum number of row used to plot the results. See plotOptimResultsPan for other fields. |
This function returns plotted MSEs and list of filenames generated (if any)
C.Terfve, T. Cokelaer,A. MacNamara
gaBinaryT1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #load data
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
#pre-process model
model = preprocessing(CNOlistToy, ToyModel)
#optimise
ToyT1opt<-gaBinaryT1(
CNOlist=CNOlistToy,
model=model,
maxGens=20,
popSize = 10,
verbose=FALSE)
#plotting
cutAndPlotResultsT1(
model=model,
CNOlist=CNOlistToy,
bString=ToyT1opt$bString,
plotPDF=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.