saveNetwork | R Documentation |
Saves synchronous, asynchronous, probabilistic and temporal networks in the BoolNet network file format .
saveNetwork(network,
file,
generateDNFs = FALSE,
saveFixed = TRUE)
network |
An object of class |
file |
The name of the network file to be created |
generateDNFs |
If |
saveFixed |
If set to TRUE, knock-outs and overexpression of genes override their transition functions. That is, if a gene in the network is fixed to 0 or 1, this value is saved, regardless of the transition function. If set to FALSE, the transition function is saved. Defaults to TRUE. |
The network is saved in the BoolNet file format (see loadNetwork
for details).
If the expressions in the transition functions cannot be parsed or generateDNFs
is true, a DNF representation of the transition functions is generated.
loadNetwork
## Not run:
# load the cell cycle network
data(cellcycle)
# save it to a file
saveNetwork(cellcycle, file="cellcycle.txt")
# reload the model
print(loadNetwork("cellcycle.txt"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.