toPajek: 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://pajek.imfm.si/doku.php
An object of class AttractorInfo, as returned by getAttractors. As the transition table information in this structure is required, getAttractors must be called in synchronous
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.
library(BoolNet)
# load example datadata(cellcycle)
# get attractorsattractors <- getAttractors(cellcycle)
# export to PajektoPajek(attractors, file="pajek_export.net")