toSBML | R Documentation |
Exports a synchronous or asynchronous Boolean network to SBML with the sbml-qual
extension package.
toSBML(network,
file,
generateDNFs = FALSE,
saveFixed = TRUE)
network |
An object of class |
file |
The name of the SBML 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 exported, regardless of the transition function. If set to FALSE, the transition function is exported. Defaults to TRUE. |
The export creates an SBML file describing a general logical model that corresponds to the Boolean network. Importing tools must support the sbml-qual
extension package version 1.0.
The export translates the expressions that describe the network transition functions to a MathML description. If these expressions cannot be parsed or generateDNFs
is true, a DNF representation of the transition functions is generated and exported.
For symbolic networks, temporal operators and delays of more than one time step are not allowed, as they are not compatible with SBML.
http://sbml.org/Documents/Specifications/SBML_Level_3/Packages/Qualitative_Models_(qual)
loadSBML
, loadNetwork
, saveNetwork
, toPajek
## Not run:
# load the cell cycle network
data(cellcycle)
# export the network to SBML
toSBML(cellcycle, file="cellcycle.sbml")
# reimport the model
print(loadSBML("cellcycle.sbml"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.