- attractorInfo
An object of class AttractorInfo
, as returned by getAttractors
, or an object of class SymbolicSimulation
, as returned by simulateSymbolicModel
.
- subset
An subset of attractors to be plotted. This is a vector of attractor indices in attractorInfo
.
- title
An optional title for the plot
- mode
Switches between two kinds of attractor plots. See Details for more information. Default is "table".
- grouping
This optional parameter is only used if mode="table"
and specifies a structure to form groups of genes in the plot. This is a list with the following elements:
- class
A vector of names for the groups. These names will be printed in the region belonging to the group in the plot.
- index
A list with the same length as class
. Each element is a vector of gene names or gene indices belonging to the group.
plotFixed
This optional parameter is only used if mode="table"
.
If this is true, genes with fixed values are included in the plot. Otherwise, these genes are not drawn.
onColor
This optional parameter is only used if mode="table"
and specifies the color value for the 1/ON values in the table. Defaults to green.
offColor
This optional parameter is only used if mode="table"
and specifies the color value for the 0/OFF values in the table. Defaults to red.
layout
If mode="graph"
, this parameter specifies a layouting function that determines the placement of the nodes in the graph. Please refer to the layout
manual entry in the igraph package for further details. By default, the circle layout is used.
drawLabels
This parameter is only relevant if mode="graph"
. It determines whether the nodes of the graph are annotated with the corresponding values of the genes in the attractor states.
drawLegend
Specifies whether a color key for the ON/OFF states is drawn if mode="table"
. Defaults to TRUE
.
ask
If set to true, the plot function will prompt for a user input for each new plot that is shown on an interactive device (see link{par("ask")}
).
reverse
Specifies the order of the genes in the plot. By default, the first gene is placed in the first row of the plot. If reverse=TRUE
(which was the default until BoolNet version 2.0.2), the first gene in the network is placed in the bottom row of the plot.
borderColor
Specifies the border or seprating color of states in an attractor. Defaults to "black"
.
eps
Specifies plotting margin for the sequence of states. Defaults to 0.1
.
allInOnePlot
If this is TRUE
then all attractors, with mode = "table"
, are plotted in one plot as specified internally by par$mfrow
parameter. Previous value of the par$mfrow
parameter is preserved. Defaults to FALSE
, meaning the plots for more than one attractor will be switched interactively or all plotted in an non-interactive graphical device.
...
Further graphical parameters to be passed to plot.igraph
if mode="graph"
.