cutAndPlot: Interface to cutAndPlotResults functions.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/cutAndPlot.R

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

1
2
3
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

Author(s)

T. Cokelaer

See Also

cutAndPlotResultsT1

Examples

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

saezlab/CellNOptR documentation built on Aug. 24, 2018, 10:30 p.m.