Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Author(s)

T. Cokelaer

See Also

Examples

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

CellNOptR

Training of boolean logic models of signalling networks using prior knowledge networks and perturbation data

v1.36.0
GPL-3
Authors
T.Cokelaer, F.Eduati, A.MacNamara, S.Schrier, C.Terfve, E.Gjerga, A.Gabor
Initial release
2018-11-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.