attractorInfo, and optionally highlights attractors and basins of attraction. This requires the plotStateGraph(attractorInfo, highlightAttractors = TRUE,
colorBasins = TRUE, colorSet,
drawLegend = TRUE, drawLabels = FALSE,
layout = layout.fruchterman.reingold,
piecewise = FALSE,
basin.lty = 2, attractor.lty = 1,
plotIt = TRUE, ...)AttractorInfo, as returned by getAttractors. As the transition table information in this structure is required, getAttractorattractor.lty). Defaults to TRUE.colorSet. Defaults to TRUE.colorBasins is true, a legend for the colors of the basins of attraction is drawn. Defaults to TRUE.layout manual entry in the highlightAttractors is true, this specifies the line type for edges in an attractor. Defaults to 1 (straight).igraph is returned, but no plot is drawn.plot.igraph.igraph containing the state graph, including color and line attributes.plot.igraph function from the ... argument. For details on possible parameters, please refer to igraph.plotting.getAttractors, plotNetworkWiring, igraph.plottinglibrary(BoolNet)
# load example data
data(cellcycle)
# get attractors
attractors <- getAttractors(cellcycle)
# plot state graph
plotStateGraph(attractors, main="Cell cycle network")Run the code above in your browser using DataLab