| MathSBML Home Page | MathSBML Site Map |
setModelAnnotation[options] defines the annotation for an SBML model in the model builder.
The annotation is placed inside the model. To place an annoation in the SBML file before the model see setSBMLAnnotation.
See also:
Input: newModel[foo, notes -> ""]; setAnnotationNamespace["http://url"]; setAnnotationPackage["helloWorld"]; setModelAnnotation[a -> {x -> y, p -> {q -> r, s -> t, u -> v}}]; ... createModel[] Output:<?xml version="1.0" encoding="UTF-8"?> <sbml xmlns="http://www.sbml.org/sbml/level2" level="2" version="1"> <model id="foo" name="foo"> <annotation xmlns:helloWorld="http://url"> <a x="y"> <p q="r" s="t" u="v"/> </a> </annotation> ... </model> </sbml>[07-23-04]