MathSBML

MathSBML Home Page MathSBML Site Map

MathSBML Model Builder: add/remove/modifyCompartmentType


addCompartmentType[options] adds a compartmentType to the current model. Options are the same as compartmentTypeToSBML.

addCompartmentType[x, options] is the same as addCompartmentType[id->x, options].

modifyCompartmentType[options] modifies a compartment type in the current model. Options are the same as compartmentTypeToSBML.

modifyCompartmentType[x, options] is the same as modifyCompartmentType[id->x, options].

removeCompartmentType[id] removes a compartment type with the given id from the current model.

addCompartmentType, removeCompartmentType, modifyCompartmentType new in 2.5.12.
Compartment types were added in Level 2, Version 2. They may not be used in earlier versions of SBML.

Example

HTML | Mathematica Notebook