toSBML {BoolNet}R Documentation

Export a network to SBML


Exports a synchronous or asynchronous Boolean network to SBML with the sbml-qual extension package.


       generateDNFs = FALSE,
       saveFixed = TRUE)



An object of class BooleanNetwork or SymbolicBooleanNetwork to be exported


The name of the SBML file to be created


If network is a BooleanNetwork object, this parameter specifies whether formulae in Disjunctive Normal Form are exported instead of the expressions that describe the transition functions. If set to FALSE, the original expressions are exported. If set to "canonical", a canonical Disjunctive Normal Form is generated from each truth table. If set to "short", the canonical DNF is minimized by joining terms (which can be time-consuming for functions with many inputs). If set to TRUE, a short DNF is generated for functions with up to 12 inputs, and a canonical DNF is generated for functions with more than 12 inputs. For objects of class SymbolicBooleanNetwork, this parameter is ignored.


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.


See Also

loadSBML, loadNetwork, saveNetwork, toPajek


## Not run: 
# load the cell cycle network

# export the network to SBML
toSBML(cellcycle, file="cellcycle.sbml")

# reimport the model

## End(Not run)

[Package BoolNet version 2.1.9 Index]