| MathSBML Home Page | MathSBML Site Map |
setSBMLAnnotation[options] defines the annotation for an SBML file in the model builder.
The annotation is placed before any model is defined in the file. Compare with setModelAnnotation which places the annotation within the model.
See also:
Input: newModel[foo, notes -> ""]; setAnnotationNamespace["http://url"]; setAnnotationPackage["helloWorld"]; setSBMLAnnotation[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"> <annotation xmlns:helloWorld="http://url"> <a x="y"> <p q="r" s="t" u="v"/> </a> </annotation> <model id="foo" name="foo"> ... </model> </sbml>[07-23-04]