Learn R Programming

CellNOptR (version 1.18.0)

cutAndPlot: Interface to cutAndPlotResults functions.

Description

This function takes a model and cnolist as well as a list of optimised bitstring at different time points. It calls the appropriate cutAndPlotResultsTX function.

Usage

cutAndPlot(CNOlist, model, bStrings, plotPDF=FALSE, tag=NULL, plotParams = list(maxrow = 10))

Arguments

CNOlist
a CNOlist, corresponding to the optimisation one
model
a model (the full one that was used for optimisation)
bStrings
a bitstring for T1 as output by gaBinaryT1 (i.e. a vector of 1s and 0s)
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).
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.

Value

This function returns nothing. It plots a graph in your graphic window and sqve it in a file if asked

See Also

cutAndPlotResultsT1

Examples

Run this code
#load data

data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")

#pre-process model
model = preprocessing(CNOlistToy, ToyModel)

cutAndPlot(CNOlistToy, model,
    bStrings=list(rep(1,length(model$reacID))),	plotPDF=FALSE)

Run the code above in your browser using DataLab