plotModel(model, CNOlist=NULL, bString=NULL, indexIntegr=NULL, signals=NULL,
stimuli=NULL, inhibitors=NULL, NCNO=NULL, compressed=NULL, output="STDOUT",
filename=NULL, graphvizParams=list(), show=TRUE, remove_dot=TRUE)
readSIF
. Alternatively, the filename can
also be provided.
The CNOlist argument contains the signals/stimuli/inhibitors so if you provide a CNOlist there is no need to use these arguments. If you decide to use them they will overwrite the contents of the CNOlist argument.
optimRes is the output of gaBinary. One of its field is called bString and contains a list of 0 and 1 (the optimisation is perfomed with a binary procedure). This list of 0 and 1 is then used to plot or not the edges of the model. However, you can provide a bitString made of floats (e.g., average of several bitStrings). In such case, edges will appear in gray light or dark according to the bistring value (between 0 and 1).
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
res<-plotModel(ToyModel, CNOlist=CNOlistToy, compressed=c("TRAF6", "p38"),
graphvizParams=list(mode="classic", fontsize=30))
Run the code above in your browser using DataLab