Debian Codegraph @

docs/structure-functions/reaction.html

raw symbols SCIP
1 <h3>MATLAB<em>SBML</em>STRUCTURE_FUNCTIONS\REACTION</h3>
2
3 <p>The functions allow users to create and work with the SBML Reaction structure.</p>
4
5 <p>Function are:</p>
6
7 <hr>
8
9 <h4>SBMLReaction = Reaction_addModifier(SBMLReaction, SBMLModifier)</h4>
10
11 <p>Takes</p>
12
13 <ol>
14 <li>SBMLReaction, an SBML Reaction structure</li>
15 <li>SBMLModifier, an SBML Modifier structure</li>
16 </ol>
17
18 <p>Returns</p>
19
20 <ol>
21 <li>the SBML Reaction structure with the SBML Modifier structure added</li>
22 </ol>
23
24 <hr>
25
26 <h4>SBMLReaction = Reaction_addProduct(SBMLReaction, SBMLProduct)</h4>
27
28 <p>Takes</p>
29
30 <ol>
31 <li>SBMLReaction, an SBML Reaction structure</li>
32 <li>SBMLProduct, an SBML Product structure</li>
33 </ol>
34
35 <p>Returns</p>
36
37 <ol>
38 <li>the SBML Reaction structure with the SBML Product structure added</li>
39 </ol>
40
41 <hr>
42
43 <h4>SBMLReaction = Reaction_addReactant(SBMLReaction, SBMLReactant)</h4>
44
45 <p>Takes</p>
46
47 <ol>
48 <li>SBMLReaction, an SBML Reaction structure</li>
49 <li>SBMLReactant, an SBML Reactant structure</li>
50 </ol>
51
52 <p>Returns</p>
53
54 <ol>
55 <li>the SBML Reaction structure with the SBML Reactant structure added</li>
56 </ol>
57
58 <hr>
59
60 <h4>Reaction = Reaction_create(level(optional), version(optional) )</h4>
61
62 <p>Takes</p>
63
64 <ol>
65 <li>level, an integer representing an SBML level (optional)</li>
66 <li>version, an integer representing an SBML version (optional)</li>
67 </ol>
68
69 <p>Returns</p>
70
71 <ol>
72 <li>a MATLAB_SBML Reaction structure of the appropriate level and version</li>
73 </ol>
74
75 <p><em>NOTE:</em> the optional level and version preserve backwards compatibility
76 a missing version argument will default to L1V2; L2V4 or L3V1
77 missing both arguments will default to L3V1</p>
78
79 <hr>
80
81 <h4>SBMLReaction = Reaction_createKineticLaw(SBMLReaction)</h4>
82
83 <p>Takes</p>
84
85 <ol>
86 <li>SBMLReaction, an SBML Reaction structure</li>
87 </ol>
88
89 <p>Returns</p>
90
91 <ol>
92 <li>the SBML Reaction structure with a new SBML KineticLaw structure added</li>
93 </ol>
94
95 <hr>
96
97 <h4>SBMLReaction = Reaction_createModifier(SBMLReaction)</h4>
98
99 <p>Takes</p>
100
101 <ol>
102 <li>SBMLReaction, an SBML Reaction structure</li>
103 </ol>
104
105 <p>Returns</p>
106
107 <ol>
108 <li>the SBML Reaction structure with a new SBML ModifierSpeciesReference structure added</li>
109 </ol>
110
111 <hr>
112
113 <h4>SBMLReaction = Reaction_createProduct(SBMLReaction)</h4>
114
115 <p>Takes</p>
116
117 <ol>
118 <li>SBMLReaction, an SBML Reaction structure</li>
119 </ol>
120
121 <p>Returns</p>
122
123 <ol>
124 <li>the SBML Reaction structure with a new SBML SpeciesReference structure added</li>
125 </ol>
126
127 <hr>
128
129 <h4>SBMLReaction = Reaction_createReactant(SBMLReaction)</h4>
130
131 <p>Takes</p>
132
133 <ol>
134 <li>SBMLReaction, an SBML Reaction structure</li>
135 </ol>
136
137 <p>Returns</p>
138
139 <ol>
140 <li>the SBML Reaction structure with a new SBML SpeciesReference structure added</li>
141 </ol>
142
143 <hr>
144
145 <h4>compartment = Reaction_getCompartment(SBMLReaction)</h4>
146
147 <p>Takes</p>
148
149 <ol>
150 <li>SBMLReaction, an SBML Reaction structure</li>
151 </ol>
152
153 <p>Returns</p>
154
155 <ol>
156 <li>the value of the compartment attribute</li>
157 </ol>
158
159 <hr>
160
161 <h4>fast = Reaction_getFast(SBMLReaction)</h4>
162
163 <p>Takes</p>
164
165 <ol>
166 <li>SBMLReaction, an SBML Reaction structure</li>
167 </ol>
168
169 <p>Returns</p>
170
171 <ol>
172 <li>the value of the fast attribute</li>
173 </ol>
174
175 <hr>
176
177 <h4>id = Reaction_getId(SBMLReaction)</h4>
178
179 <p>Takes</p>
180
181 <ol>
182 <li>SBMLReaction, an SBML Reaction structure</li>
183 </ol>
184
185 <p>Returns</p>
186
187 <ol>
188 <li>the value of the id attribute</li>
189 </ol>
190
191 <hr>
192
193 <h4>kineticLaw = Reaction_getKineticLaw(SBMLReaction)</h4>
194
195 <p>Takes</p>
196
197 <ol>
198 <li>SBMLReaction, an SBML Reaction structure</li>
199 </ol>
200
201 <p>Returns</p>
202
203 <ol>
204 <li>the SBML KineticLaw structure</li>
205 </ol>
206
207 <hr>
208
209 <h4>modifier = Reaction_getListOfModifiers(SBMLReaction)</h4>
210
211 <p>Takes</p>
212
213 <ol>
214 <li>SBMLReaction, an SBML Reaction structure</li>
215 </ol>
216
217 <p>Returns</p>
218
219 <ol>
220 <li>an array of the modifier structures</li>
221 </ol>
222
223 <hr>
224
225 <h4>product = Reaction_getListOfProducts(SBMLReaction)</h4>
226
227 <p>Takes</p>
228
229 <ol>
230 <li>SBMLReaction, an SBML Reaction structure</li>
231 </ol>
232
233 <p>Returns</p>
234
235 <ol>
236 <li>an array of the product structures</li>
237 </ol>
238
239 <hr>
240
241 <h4>reactant = Reaction_getListOfReactants(SBMLReaction)</h4>
242
243 <p>Takes</p>
244
245 <ol>
246 <li>SBMLReaction, an SBML Reaction structure</li>
247 </ol>
248
249 <p>Returns</p>
250
251 <ol>
252 <li>an array of the reactant structures</li>
253 </ol>
254
255 <hr>
256
257 <h4>metaid = Reaction_getMetaid(SBMLReaction)</h4>
258
259 <p>Takes</p>
260
261 <ol>
262 <li>SBMLReaction, an SBML Reaction structure</li>
263 </ol>
264
265 <p>Returns</p>
266
267 <ol>
268 <li>the value of the metaid attribute</li>
269 </ol>
270
271 <hr>
272
273 <h4>modifier = Reaction_getModifier(SBMLReaction, index)</h4>
274
275 <p>Takes</p>
276
277 <ol>
278 <li>SBMLReaction, an SBML Reaction structure</li>
279 <li>index, an integer representing the index of SBML Modifier structure</li>
280 </ol>
281
282 <p>Returns</p>
283
284 <ol>
285 <li>the SBML Modifier structure at the indexed position</li>
286 </ol>
287
288 <hr>
289
290 <h4>modifier = Reaction_getModifierById(SBMLReaction, id)</h4>
291
292 <p>Takes</p>
293
294 <ol>
295 <li>SBMLReaction, an SBML Reaction structure</li>
296 <li>id; a string representing the id of SBML Modifier structure</li>
297 </ol>
298
299 <p>Returns</p>
300
301 <ol>
302 <li>the SBML Modifier structure that has this id</li>
303 </ol>
304
305 <hr>
306
307 <h4>name = Reaction_getName(SBMLReaction)</h4>
308
309 <p>Takes</p>
310
311 <ol>
312 <li>SBMLReaction, an SBML Reaction structure</li>
313 </ol>
314
315 <p>Returns</p>
316
317 <ol>
318 <li>the value of the name attribute</li>
319 </ol>
320
321 <hr>
322
323 <h4>num = Reaction_getNumModifiers(SBMLReaction)</h4>
324
325 <p>Takes</p>
326
327 <ol>
328 <li>SBMLReaction, an SBML Reaction structure</li>
329 </ol>
330
331 <p>Returns</p>
332
333 <ol>
334 <li>the number of SBML Modifier structures present in the Reaction</li>
335 </ol>
336
337 <hr>
338
339 <h4>num = Reaction_getNumProducts(SBMLReaction)</h4>
340
341 <p>Takes</p>
342
343 <ol>
344 <li>SBMLReaction, an SBML Reaction structure</li>
345 </ol>
346
347 <p>Returns</p>
348
349 <ol>
350 <li>the number of SBML Product structures present in the Reaction</li>
351 </ol>
352
353 <hr>
354
355 <h4>num = Reaction_getNumReactants(SBMLReaction)</h4>
356
357 <p>Takes</p>
358
359 <ol>
360 <li>SBMLReaction, an SBML Reaction structure</li>
361 </ol>
362
363 <p>Returns</p>
364
365 <ol>
366 <li>the number of SBML Reactant structures present in the Reaction</li>
367 </ol>
368
369 <hr>
370
371 <h4>product = Reaction_getProduct(SBMLReaction, index)</h4>
372
373 <p>Takes</p>
374
375 <ol>
376 <li>SBMLReaction, an SBML Reaction structure</li>
377 <li>index, an integer representing the index of SBML Product structure</li>
378 </ol>
379
380 <p>Returns</p>
381
382 <ol>
383 <li>the SBML Product structure at the indexed position</li>
384 </ol>
385
386 <hr>
387
388 <h4>product = Reaction_getProductById(SBMLReaction, id)</h4>
389
390 <p>Takes</p>
391
392 <ol>
393 <li>SBMLReaction, an SBML Reaction structure</li>
394 <li>id; a string representing the id of SBML Product structure</li>
395 </ol>
396
397 <p>Returns</p>
398
399 <ol>
400 <li>the SBML Product structure that has this id</li>
401 </ol>
402
403 <hr>
404
405 <h4>reactant = Reaction_getReactant(SBMLReaction, index)</h4>
406
407 <p>Takes</p>
408
409 <ol>
410 <li>SBMLReaction, an SBML Reaction structure</li>
411 <li>index, an integer representing the index of SBML Reactant structure</li>
412 </ol>
413
414 <p>Returns</p>
415
416 <ol>
417 <li>the SBML Reactant structure at the indexed position</li>
418 </ol>
419
420 <hr>
421
422 <h4>reactant = Reaction_getReactantById(SBMLReaction, id)</h4>
423
424 <p>Takes</p>
425
426 <ol>
427 <li>SBMLReaction, an SBML Reaction structure</li>
428 <li>id; a string representing the id of SBML Reactant structure</li>
429 </ol>
430
431 <p>Returns</p>
432
433 <ol>
434 <li>the SBML Reactant structure that has this id</li>
435 </ol>
436
437 <hr>
438
439 <h4>reversible = Reaction_getReversible(SBMLReaction)</h4>
440
441 <p>Takes</p>
442
443 <ol>
444 <li>SBMLReaction, an SBML Reaction structure</li>
445 </ol>
446
447 <p>Returns</p>
448
449 <ol>
450 <li>the value of the reversible attribute</li>
451 </ol>
452
453 <hr>
454
455 <h4>sboTerm = Reaction_getSBOTerm(SBMLReaction)</h4>
456
457 <p>Takes</p>
458
459 <ol>
460 <li>SBMLReaction, an SBML Reaction structure</li>
461 </ol>
462
463 <p>Returns</p>
464
465 <ol>
466 <li>the value of the sboTerm attribute</li>
467 </ol>
468
469 <hr>
470
471 <h4>value = Reaction_isSetCompartment(SBMLReaction)</h4>
472
473 <p>Takes</p>
474
475 <ol>
476 <li>SBMLReaction, an SBML Reaction structure</li>
477 </ol>
478
479 <p>Returns</p>
480
481 <ol>
482 <li>value =
483 <ul>
484 <li>1 if the compartment attribute is set</li>
485 <li>0 otherwise</li>
486 </ul></li>
487 </ol>
488
489 <hr>
490
491 <h4>value = Reaction_isSetFast(SBMLReaction)</h4>
492
493 <p>Takes</p>
494
495 <ol>
496 <li>SBMLReaction, an SBML Reaction structure</li>
497 </ol>
498
499 <p>Returns</p>
500
501 <ol>
502 <li>value =
503 <ul>
504 <li>1 if the fast attribute is set</li>
505 <li>0 otherwise</li>
506 </ul></li>
507 </ol>
508
509 <hr>
510
511 <h4>value = Reaction_isSetId(SBMLReaction)</h4>
512
513 <p>Takes</p>
514
515 <ol>
516 <li>SBMLReaction, an SBML Reaction structure</li>
517 </ol>
518
519 <p>Returns</p>
520
521 <ol>
522 <li>value =
523 <ul>
524 <li>1 if the id attribute is set</li>
525 <li>0 otherwise</li>
526 </ul></li>
527 </ol>
528
529 <hr>
530
531 <h4>value = Reaction_isSetKineticLaw(SBMLReaction)</h4>
532
533 <p>Takes</p>
534
535 <ol>
536 <li>SBMLReaction, an SBML Reaction structure</li>
537 </ol>
538
539 <p>Returns</p>
540
541 <ol>
542 <li>value =
543 <ul>
544 <li>1 if the kineticLaw structure is set</li>
545 <li>0 otherwise</li>
546 </ul></li>
547 </ol>
548
549 <hr>
550
551 <h4>value = Reaction_isSetMetaid(SBMLReaction)</h4>
552
553 <p>Takes</p>
554
555 <ol>
556 <li>SBMLReaction, an SBML Reaction structure</li>
557 </ol>
558
559 <p>Returns</p>
560
561 <ol>
562 <li>value =
563 <ul>
564 <li>1 if the metaid attribute is set</li>
565 <li>0 otherwise</li>
566 </ul></li>
567 </ol>
568
569 <hr>
570
571 <h4>value = Reaction_isSetName(SBMLReaction)</h4>
572
573 <p>Takes</p>
574
575 <ol>
576 <li>SBMLReaction, an SBML Reaction structure</li>
577 </ol>
578
579 <p>Returns</p>
580
581 <ol>
582 <li>value =
583 <ul>
584 <li>1 if the name attribute is set</li>
585 <li>0 otherwise</li>
586 </ul></li>
587 </ol>
588
589 <hr>
590
591 <h4>value = Reaction_isSetReversible(SBMLReaction)</h4>
592
593 <p>Takes</p>
594
595 <ol>
596 <li>SBMLReaction, an SBML Reaction structure</li>
597 </ol>
598
599 <p>Returns</p>
600
601 <ol>
602 <li>value =
603 <ul>
604 <li>1 if the reversible attribute is set</li>
605 <li>0 otherwise</li>
606 </ul></li>
607 </ol>
608
609 <hr>
610
611 <h4>value = Reaction_isSetSBOTerm(SBMLReaction)</h4>
612
613 <p>Takes</p>
614
615 <ol>
616 <li>SBMLReaction, an SBML Reaction structure</li>
617 </ol>
618
619 <p>Returns</p>
620
621 <ol>
622 <li>value =
623 <ul>
624 <li>1 if the sboTerm attribute is set</li>
625 <li>0 otherwise</li>
626 </ul></li>
627 </ol>
628
629 <hr>
630
631 <h4>SBMLReaction = Reaction_setCompartment(SBMLReaction, compartment)</h4>
632
633 <p>Takes</p>
634
635 <ol>
636 <li>SBMLReaction, an SBML Reaction structure</li>
637 <li>compartment; a string representing the compartment to be set</li>
638 </ol>
639
640 <p>Returns</p>
641
642 <ol>
643 <li>the SBML Reaction structure with the new value for the compartment attribute</li>
644 </ol>
645
646 <hr>
647
648 <h4>SBMLReaction = Reaction_setFast(SBMLReaction, fast)</h4>
649
650 <p>Takes</p>
651
652 <ol>
653 <li>SBMLReaction, an SBML Reaction structure</li>
654 <li>fast, an integer (0/1) representing the value of fast to be set</li>
655 </ol>
656
657 <p>Returns</p>
658
659 <ol>
660 <li>the SBML Reaction structure with the new value for the fast attribute</li>
661 </ol>
662
663 <hr>
664
665 <h4>SBMLReaction = Reaction_setId(SBMLReaction, id)</h4>
666
667 <p>Takes</p>
668
669 <ol>
670 <li>SBMLReaction, an SBML Reaction structure</li>
671 <li>id; a string representing the id to be set</li>
672 </ol>
673
674 <p>Returns</p>
675
676 <ol>
677 <li>the SBML Reaction structure with the new value for the id attribute</li>
678 </ol>
679
680 <hr>
681
682 <h4>SBMLReaction = Reaction_setKineticLaw(SBMLReaction, SBMLKineticLaw)</h4>
683
684 <p>Takes</p>
685
686 <ol>
687 <li>SBMLReaction, an SBML Reaction structure</li>
688 <li>SBMLKineticLaw, an SBML KineticLaw structure</li>
689 </ol>
690
691 <p>Returns</p>
692
693 <ol>
694 <li>the SBML Reaction structure with the new value for the kineticLaw field</li>
695 </ol>
696
697 <hr>
698
699 <h4>SBMLReaction = Reaction_setMetaid(SBMLReaction, metaid)</h4>
700
701 <p>Takes</p>
702
703 <ol>
704 <li>SBMLReaction, an SBML Reaction structure</li>
705 <li>metaid; a string representing the metaid to be set</li>
706 </ol>
707
708 <p>Returns</p>
709
710 <ol>
711 <li>the SBML Reaction structure with the new value for the metaid attribute</li>
712 </ol>
713
714 <hr>
715
716 <h4>SBMLReaction = Reaction_setName(SBMLReaction, name)</h4>
717
718 <p>Takes</p>
719
720 <ol>
721 <li>SBMLReaction, an SBML Reaction structure</li>
722 <li>name; a string representing the name to be set</li>
723 </ol>
724
725 <p>Returns</p>
726
727 <ol>
728 <li>the SBML Reaction structure with the new value for the name attribute</li>
729 </ol>
730
731 <hr>
732
733 <h4>SBMLReaction = Reaction_setReversible(SBMLReaction, reversible)</h4>
734
735 <p>Takes</p>
736
737 <ol>
738 <li>SBMLReaction, an SBML Reaction structure</li>
739 <li>reversible, an integer (0/1) representing the value of reversible to be set</li>
740 </ol>
741
742 <p>Returns</p>
743
744 <ol>
745 <li>the SBML Reaction structure with the new value for the reversible attribute</li>
746 </ol>
747
748 <hr>
749
750 <h4>SBMLReaction = Reaction_setSBOTerm(SBMLReaction, sboTerm)</h4>
751
752 <p>Takes</p>
753
754 <ol>
755 <li>SBMLReaction, an SBML Reaction structure</li>
756 <li>sboTerm, an integer representing the sboTerm to be set</li>
757 </ol>
758
759 <p>Returns</p>
760
761 <ol>
762 <li>the SBML Reaction structure with the new value for the sboTerm attribute</li>
763 </ol>
764
765 <hr>
766
767 <h4>SBMLReaction = Reaction_unsetCompartment(SBMLReaction)</h4>
768
769 <p>Takes</p>
770
771 <ol>
772 <li>SBMLReaction, an SBML Reaction structure</li>
773 </ol>
774
775 <p>Returns</p>
776
777 <ol>
778 <li>the SBML Reaction structure with the compartment attribute unset</li>
779 </ol>
780
781 <hr>
782
783 <h4>SBMLReaction = Reaction_unsetFast(SBMLReaction)</h4>
784
785 <p>Takes</p>
786
787 <ol>
788 <li>SBMLReaction, an SBML Reaction structure</li>
789 </ol>
790
791 <p>Returns</p>
792
793 <ol>
794 <li>the SBML Reaction structure with the fast attribute unset</li>
795 </ol>
796
797 <hr>
798
799 <h4>SBMLReaction = Reaction_unsetId(SBMLReaction)</h4>
800
801 <p>Takes</p>
802
803 <ol>
804 <li>SBMLReaction, an SBML Reaction structure</li>
805 </ol>
806
807 <p>Returns</p>
808
809 <ol>
810 <li>the SBML Reaction structure with the id attribute unset</li>
811 </ol>
812
813 <hr>
814
815 <h4>SBMLReaction = Reaction_unsetKineticLaw(SBMLReaction)</h4>
816
817 <p>Takes</p>
818
819 <ol>
820 <li>SBMLReaction, an SBML Reaction structure</li>
821 </ol>
822
823 <p>Returns</p>
824
825 <ol>
826 <li>the SBML Reaction structure with the kineticLaw field unset</li>
827 </ol>
828
829 <hr>
830
831 <h4>SBMLReaction = Reaction_unsetMetaid(SBMLReaction)</h4>
832
833 <p>Takes</p>
834
835 <ol>
836 <li>SBMLReaction, an SBML Reaction structure</li>
837 </ol>
838
839 <p>Returns</p>
840
841 <ol>
842 <li>the SBML Reaction structure with the metaid attribute unset</li>
843 </ol>
844
845 <hr>
846
847 <h4>SBMLReaction = Reaction_unsetName(SBMLReaction)</h4>
848
849 <p>Takes</p>
850
851 <ol>
852 <li>SBMLReaction, an SBML Reaction structure</li>
853 </ol>
854
855 <p>Returns</p>
856
857 <ol>
858 <li>the SBML Reaction structure with the name attribute unset</li>
859 </ol>
860
861 <hr>
862
863 <h4>SBMLReaction = Reaction_unsetReversible(SBMLReaction)</h4>
864
865 <p>Takes</p>
866
867 <ol>
868 <li>SBMLReaction, an SBML Reaction structure</li>
869 </ol>
870
871 <p>Returns</p>
872
873 <ol>
874 <li>the SBML Reaction structure with the reversible attribute unset</li>
875 </ol>
876
877 <hr>
878
879 <h4>SBMLReaction = Reaction_unsetSBOTerm(SBMLReaction)</h4>
880
881 <p>Takes</p>
882
883 <ol>
884 <li>SBMLReaction, an SBML Reaction structure</li>
885 </ol>
886
887 <p>Returns</p>
888
889 <ol>
890 <li>the SBML Reaction structure with the sboTerm attribute unset</li>
891 </ol>
892
893 <hr>