toPajek {BoolNet} | R Documentation |
Export a network to the Pajek file format
Description
Exports a network to the Pajek file format to visualize transition trajectories. For more information on Pajek, please refer to http://mrvar.fdv.uni-lj.si/pajek/
Usage
toPajek(stateGraph, file = "boolean.net", includeLabels=FALSE, ...)
Arguments
stateGraph |
An object of class |
file |
The name of the output file for Pajek. Defaults to "boolean.net". |
includeLabels |
If set to true, the vertices of the graph in the output file are labeled with the binary encodings of the states. Defaults to FALSE. |
... |
This is only for compatibility with previous versions and should not be used. |
Value
This function has no return value.
See Also
getAttractors
, simulateSymbolicModel
, getTransitionTable
, getBasinOfAttraction
, getStateSummary
, toSBML
Examples
## Not run:
# load example data
data(cellcycle)
# get attractors
attractors <- getAttractors(cellcycle)
# export to Pajek
toPajek(attractors, file="pajek_export.net")
## End(Not run)