|
SBW plug-in allows customer to explore available SBW modules, their services and methods. SBW host object provides tight integration between SBW and BioUML JavaScript. Customer can write sophisticated scripts for analyses and simulation of SBML models.
sbw host object functions
Example: sbw.help(�BROKER�);
Example: sbw.list("e;edu.caltech.NOM/NOM"e;);
Example: nom = sbw.getService("e;edu.caltech.NOM/NOM"e;); descr = nom.getBuiltinFunctionInfo("e;usir"e;)[0];
Example of load model from the repository: model = sbw.loadModel("e;SBML model reposytory"e;, // module name "e;CellCycle-1991Gol.xml"e;); // model name nom.loadModel( model.read() );
Example of load of model from file: model = sbw.loadModel("e;file"e;, // should be "e;file"e; "e;c:/my_model.xml"e;); // model file name |