Debian Codegraph @

docs/structure-functions/speciesReference.html

raw symbols SCIP
1 <h3>MATLAB<em>SBML</em>STRUCTURE_FUNCTIONS\SPECIESREFERENCE</h3>
2
3 <p>The functions allow users to create and work with the SBML SpeciesReference structure.</p>
4
5 <p>Function are:</p>
6
7 <hr>
8
9 <h4>SpeciesReference = SpeciesReference_create(level(optional), version(optional) )</h4>
10
11 <p>Takes</p>
12
13 <ol>
14 <li>level, an integer representing an SBML level (optional)</li>
15 <li>version, an integer representing an SBML version (optional)</li>
16 </ol>
17
18 <p>Returns</p>
19
20 <ol>
21 <li>a MATLAB_SBML SpeciesReference structure of the appropriate level and version</li>
22 </ol>
23
24 <p><em>NOTE:</em> the optional level and version preserve backwards compatibility
25 a missing version argument will default to L1V2; L2V4 or L3V1
26 missing both arguments will default to L3V1</p>
27
28 <hr>
29
30 <h4>SBMLSpeciesReference = SpeciesReference_createStoichiometryMath(SBMLSpeciesReference)</h4>
31
32 <p>Takes</p>
33
34 <ol>
35 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
36 </ol>
37
38 <p>Returns</p>
39
40 <ol>
41 <li>the SBML SpeciesReference structure with a new SBML StoichiometryMath structure added</li>
42 </ol>
43
44 <hr>
45
46 <h4>constant = SpeciesReference_getConstant(SBMLSpeciesReference)</h4>
47
48 <p>Takes</p>
49
50 <ol>
51 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
52 </ol>
53
54 <p>Returns</p>
55
56 <ol>
57 <li>the value of the constant attribute</li>
58 </ol>
59
60 <hr>
61
62 <h4>denominator = SpeciesReference_getDenominator(SBMLSpeciesReference)</h4>
63
64 <p>Takes</p>
65
66 <ol>
67 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
68 </ol>
69
70 <p>Returns</p>
71
72 <ol>
73 <li>the value of the denominator attribute</li>
74 </ol>
75
76 <hr>
77
78 <h4>id = SpeciesReference_getId(SBMLSpeciesReference)</h4>
79
80 <p>Takes</p>
81
82 <ol>
83 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
84 </ol>
85
86 <p>Returns</p>
87
88 <ol>
89 <li>the value of the id attribute</li>
90 </ol>
91
92 <hr>
93
94 <h4>metaid = SpeciesReference_getMetaid(SBMLSpeciesReference)</h4>
95
96 <p>Takes</p>
97
98 <ol>
99 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
100 </ol>
101
102 <p>Returns</p>
103
104 <ol>
105 <li>the value of the metaid attribute</li>
106 </ol>
107
108 <hr>
109
110 <h4>name = SpeciesReference_getName(SBMLSpeciesReference)</h4>
111
112 <p>Takes</p>
113
114 <ol>
115 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
116 </ol>
117
118 <p>Returns</p>
119
120 <ol>
121 <li>the value of the name attribute</li>
122 </ol>
123
124 <hr>
125
126 <h4>sboTerm = SpeciesReference_getSBOTerm(SBMLSpeciesReference)</h4>
127
128 <p>Takes</p>
129
130 <ol>
131 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
132 </ol>
133
134 <p>Returns</p>
135
136 <ol>
137 <li>the value of the sboTerm attribute</li>
138 </ol>
139
140 <hr>
141
142 <h4>species = SpeciesReference_getSpecies(SBMLSpeciesReference)</h4>
143
144 <p>Takes</p>
145
146 <ol>
147 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
148 </ol>
149
150 <p>Returns</p>
151
152 <ol>
153 <li>the value of the species attribute</li>
154 </ol>
155
156 <hr>
157
158 <h4>stoichiometry = SpeciesReference_getStoichiometry(SBMLSpeciesReference)</h4>
159
160 <p>Takes</p>
161
162 <ol>
163 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
164 </ol>
165
166 <p>Returns</p>
167
168 <ol>
169 <li>the value of the stoichiometry attribute</li>
170 </ol>
171
172 <hr>
173
174 <h4>stoichiometryMath = SpeciesReference_getStoichiometryMath(SBMLSpeciesReference)</h4>
175
176 <p>Takes</p>
177
178 <ol>
179 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
180 </ol>
181
182 <p>Returns</p>
183
184 <ol>
185 <li>the SBML StoichiometryMath structure</li>
186 </ol>
187
188 <hr>
189
190 <h4>y = SpeciesReference_isAssignedByRateRule(SBMLSpeciesReference, SBMLRules)</h4>
191
192 <p>Takes</p>
193
194 <ol>
195 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
196 <li>SBMLRules; the array of rules from an SBML Model structure</li>
197 </ol>
198
199 <p>Returns</p>
200
201 <p>y =
202 - the index of the rateRule used to assigned value to the SpeciesReference
203 - 0 if the SpeciesReference is not assigned by rateRule </p>
204
205 <p>!---------------------------------------------------------------------------
206 This file is part of SBMLToolbox. Please visit http://sbml.org for more
207 information about SBML, and the latest version of SBMLToolbox.</p>
208
209 <p>Copyright (C) 2009-2012 jointly by the following organizations:
210 1. California Institute of Technology, Pasadena, CA, USA
211 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p>
212
213 <p>Copyright (C) 2006-2008 jointly by the following organizations:
214 1. California Institute of Technology, Pasadena, CA, USA
215 2. University of Hertfordshire, Hatfield, UK</p>
216
217 <p>Copyright (C) 2003-2005 jointly by the following organizations:
218 1. California Institute of Technology, Pasadena, CA, USA
219 2. Japan Science and Technology Agency, Japan
220 3. University of Hertfordshire, Hatfield, UK</p>
221
222 <p>SBMLToolbox is free software; you can redistribute it and/or modify it
223 under the terms of the GNU Lesser General Public License as published by
224 the Free Software Foundation. A copy of the license agreement is provided
225 in the file named "LICENSE.txt" included with this software distribution.
226 ---------------------------------------------------------------------- --></p>
227
228 <hr>
229
230 <h4>y = SpeciesReference_isAssignedByRule(SBMLSpeciesReference, SBMLRules)</h4>
231
232 <p>Takes</p>
233
234 <ol>
235 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
236 <li>SBMLRules; the array of rules from an SBML Model structure</li>
237 </ol>
238
239 <p>Returns</p>
240
241 <p>y =
242 - the index of the assignmentRule used to assigned value to the SpeciesReference
243 - 0 if the SpeciesReference is not assigned by assignmentRule </p>
244
245 <p>!---------------------------------------------------------------------------
246 This file is part of SBMLToolbox. Please visit http://sbml.org for more
247 information about SBML, and the latest version of SBMLToolbox.</p>
248
249 <p>Copyright (C) 2009-2012 jointly by the following organizations:
250 1. California Institute of Technology, Pasadena, CA, USA
251 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p>
252
253 <p>Copyright (C) 2006-2008 jointly by the following organizations:
254 1. California Institute of Technology, Pasadena, CA, USA
255 2. University of Hertfordshire, Hatfield, UK</p>
256
257 <p>Copyright (C) 2003-2005 jointly by the following organizations:
258 1. California Institute of Technology, Pasadena, CA, USA
259 2. Japan Science and Technology Agency, Japan
260 3. University of Hertfordshire, Hatfield, UK</p>
261
262 <p>SBMLToolbox is free software; you can redistribute it and/or modify it
263 under the terms of the GNU Lesser General Public License as published by
264 the Free Software Foundation. A copy of the license agreement is provided
265 in the file named "LICENSE.txt" included with this software distribution.
266 ---------------------------------------------------------------------- --></p>
267
268 <hr>
269
270 <h4>y = SpeciesReference_isInAlgebraicRule(SBMLSpeciesReference, SBMLRules)</h4>
271
272 <p>Takes</p>
273
274 <ol>
275 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
276 <li>SBMLRules; the array of rules from an SBML Model structure</li>
277 </ol>
278
279 <p>Returns</p>
280
281 <p>y =
282 - an array of the indices of any algebraicRules the id of the SpeciesReference appears in
283 - 0 if the SpeciesReference appears in no algebraicRules </p>
284
285 <p>!---------------------------------------------------------------------------
286 This file is part of SBMLToolbox. Please visit http://sbml.org for more
287 information about SBML, and the latest version of SBMLToolbox.</p>
288
289 <p>Copyright (C) 2009-2012 jointly by the following organizations:
290 1. California Institute of Technology, Pasadena, CA, USA
291 2. EMBL European Bioinformatics Institute (EBML-EBI), Hinxton, UK</p>
292
293 <p>Copyright (C) 2006-2008 jointly by the following organizations:
294 1. California Institute of Technology, Pasadena, CA, USA
295 2. University of Hertfordshire, Hatfield, UK</p>
296
297 <p>Copyright (C) 2003-2005 jointly by the following organizations:
298 1. California Institute of Technology, Pasadena, CA, USA
299 2. Japan Science and Technology Agency, Japan
300 3. University of Hertfordshire, Hatfield, UK</p>
301
302 <p>SBMLToolbox is free software; you can redistribute it and/or modify it
303 under the terms of the GNU Lesser General Public License as published by
304 the Free Software Foundation. A copy of the license agreement is provided
305 in the file named "LICENSE.txt" included with this software distribution.
306 ---------------------------------------------------------------------- --></p>
307
308 <hr>
309
310 <h4>value = SpeciesReference_isSetDenominator(SBMLSpeciesReference)</h4>
311
312 <p>Takes</p>
313
314 <ol>
315 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
316 </ol>
317
318 <p>Returns</p>
319
320 <ol>
321 <li>value =
322 <ul>
323 <li>1 if the denominator attribute is set</li>
324 <li>0 otherwise</li>
325 </ul></li>
326 </ol>
327
328 <hr>
329
330 <h4>value = SpeciesReference_isSetId(SBMLSpeciesReference)</h4>
331
332 <p>Takes</p>
333
334 <ol>
335 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
336 </ol>
337
338 <p>Returns</p>
339
340 <ol>
341 <li>value =
342 <ul>
343 <li>1 if the id attribute is set</li>
344 <li>0 otherwise</li>
345 </ul></li>
346 </ol>
347
348 <hr>
349
350 <h4>value = SpeciesReference_isSetMetaid(SBMLSpeciesReference)</h4>
351
352 <p>Takes</p>
353
354 <ol>
355 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
356 </ol>
357
358 <p>Returns</p>
359
360 <ol>
361 <li>value =
362 <ul>
363 <li>1 if the metaid attribute is set</li>
364 <li>0 otherwise</li>
365 </ul></li>
366 </ol>
367
368 <hr>
369
370 <h4>value = SpeciesReference_isSetName(SBMLSpeciesReference)</h4>
371
372 <p>Takes</p>
373
374 <ol>
375 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
376 </ol>
377
378 <p>Returns</p>
379
380 <ol>
381 <li>value =
382 <ul>
383 <li>1 if the name attribute is set</li>
384 <li>0 otherwise</li>
385 </ul></li>
386 </ol>
387
388 <hr>
389
390 <h4>value = SpeciesReference_isSetSBOTerm(SBMLSpeciesReference)</h4>
391
392 <p>Takes</p>
393
394 <ol>
395 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
396 </ol>
397
398 <p>Returns</p>
399
400 <ol>
401 <li>value =
402 <ul>
403 <li>1 if the sboTerm attribute is set</li>
404 <li>0 otherwise</li>
405 </ul></li>
406 </ol>
407
408 <hr>
409
410 <h4>value = SpeciesReference_isSetSpecies(SBMLSpeciesReference)</h4>
411
412 <p>Takes</p>
413
414 <ol>
415 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
416 </ol>
417
418 <p>Returns</p>
419
420 <ol>
421 <li>value =
422 <ul>
423 <li>1 if the species attribute is set</li>
424 <li>0 otherwise</li>
425 </ul></li>
426 </ol>
427
428 <hr>
429
430 <h4>value = SpeciesReference_isSetStoichiometry(SBMLSpeciesReference)</h4>
431
432 <p>Takes</p>
433
434 <ol>
435 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
436 </ol>
437
438 <p>Returns</p>
439
440 <ol>
441 <li>value =
442 <ul>
443 <li>1 if the stoichiometry attribute is set</li>
444 <li>0 otherwise</li>
445 </ul></li>
446 </ol>
447
448 <hr>
449
450 <h4>value = SpeciesReference_isSetStoichiometryMath(SBMLSpeciesReference)</h4>
451
452 <p>Takes</p>
453
454 <ol>
455 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
456 </ol>
457
458 <p>Returns</p>
459
460 <ol>
461 <li>value =
462 <ul>
463 <li>1 if the stoichiometryMath structure is set</li>
464 <li>0 otherwise</li>
465 </ul></li>
466 </ol>
467
468 <hr>
469
470 <h4>SBMLSpeciesReference = SpeciesReference_setConstant(SBMLSpeciesReference, constant)</h4>
471
472 <p>Takes</p>
473
474 <ol>
475 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
476 <li>constant, an integer (0/1) representing the value of constant to be set</li>
477 </ol>
478
479 <p>Returns</p>
480
481 <ol>
482 <li>the SBML SpeciesReference structure with the new value for the constant attribute</li>
483 </ol>
484
485 <hr>
486
487 <h4>SBMLSpeciesReference = SpeciesReference_setDenominator(SBMLSpeciesReference, denominator)</h4>
488
489 <p>Takes</p>
490
491 <ol>
492 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
493 <li>denominator, an integer representing the denominator to be set</li>
494 </ol>
495
496 <p>Returns</p>
497
498 <ol>
499 <li>the SBML SpeciesReference structure with the new value for the denominator attribute</li>
500 </ol>
501
502 <hr>
503
504 <h4>SBMLSpeciesReference = SpeciesReference_setId(SBMLSpeciesReference, id)</h4>
505
506 <p>Takes</p>
507
508 <ol>
509 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
510 <li>id; a string representing the id to be set</li>
511 </ol>
512
513 <p>Returns</p>
514
515 <ol>
516 <li>the SBML SpeciesReference structure with the new value for the id attribute</li>
517 </ol>
518
519 <hr>
520
521 <h4>SBMLSpeciesReference = SpeciesReference_setMetaid(SBMLSpeciesReference, metaid)</h4>
522
523 <p>Takes</p>
524
525 <ol>
526 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
527 <li>metaid; a string representing the metaid to be set</li>
528 </ol>
529
530 <p>Returns</p>
531
532 <ol>
533 <li>the SBML SpeciesReference structure with the new value for the metaid attribute</li>
534 </ol>
535
536 <hr>
537
538 <h4>SBMLSpeciesReference = SpeciesReference_setName(SBMLSpeciesReference, name)</h4>
539
540 <p>Takes</p>
541
542 <ol>
543 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
544 <li>name; a string representing the name to be set</li>
545 </ol>
546
547 <p>Returns</p>
548
549 <ol>
550 <li>the SBML SpeciesReference structure with the new value for the name attribute</li>
551 </ol>
552
553 <hr>
554
555 <h4>SBMLSpeciesReference = SpeciesReference_setSBOTerm(SBMLSpeciesReference, sboTerm)</h4>
556
557 <p>Takes</p>
558
559 <ol>
560 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
561 <li>sboTerm, an integer representing the sboTerm to be set</li>
562 </ol>
563
564 <p>Returns</p>
565
566 <ol>
567 <li>the SBML SpeciesReference structure with the new value for the sboTerm attribute</li>
568 </ol>
569
570 <hr>
571
572 <h4>SBMLSpeciesReference = SpeciesReference_setSpecies(SBMLSpeciesReference, species)</h4>
573
574 <p>Takes</p>
575
576 <ol>
577 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
578 <li>species; a string representing the species to be set</li>
579 </ol>
580
581 <p>Returns</p>
582
583 <ol>
584 <li>the SBML SpeciesReference structure with the new value for the species attribute</li>
585 </ol>
586
587 <hr>
588
589 <h4>SBMLSpeciesReference = SpeciesReference_setStoichiometry(SBMLSpeciesReference, stoichiometry)</h4>
590
591 <p>Takes</p>
592
593 <ol>
594 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
595 <li>stoichiometry; number representing the value of stoichiometry to be set</li>
596 </ol>
597
598 <p>Returns</p>
599
600 <ol>
601 <li>the SBML SpeciesReference structure with the new value for the stoichiometry attribute</li>
602 </ol>
603
604 <hr>
605
606 <h4>SBMLSpeciesReference = SpeciesReference_setStoichiometryMath(SBMLSpeciesReference, SBMLStoichiometryMath)</h4>
607
608 <p>Takes</p>
609
610 <ol>
611 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
612 <li>SBMLStoichiometryMath, an SBML StoichiometryMath structure</li>
613 </ol>
614
615 <p>Returns</p>
616
617 <ol>
618 <li>the SBML SpeciesReference structure with the new value for the stoichiometryMath field</li>
619 </ol>
620
621 <hr>
622
623 <h4>SBMLSpeciesReference = SpeciesReference_unsetDenominator(SBMLSpeciesReference)</h4>
624
625 <p>Takes</p>
626
627 <ol>
628 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
629 </ol>
630
631 <p>Returns</p>
632
633 <ol>
634 <li>the SBML SpeciesReference structure with the denominator attribute unset</li>
635 </ol>
636
637 <hr>
638
639 <h4>SBMLSpeciesReference = SpeciesReference_unsetId(SBMLSpeciesReference)</h4>
640
641 <p>Takes</p>
642
643 <ol>
644 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
645 </ol>
646
647 <p>Returns</p>
648
649 <ol>
650 <li>the SBML SpeciesReference structure with the id attribute unset</li>
651 </ol>
652
653 <hr>
654
655 <h4>SBMLSpeciesReference = SpeciesReference_unsetMetaid(SBMLSpeciesReference)</h4>
656
657 <p>Takes</p>
658
659 <ol>
660 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
661 </ol>
662
663 <p>Returns</p>
664
665 <ol>
666 <li>the SBML SpeciesReference structure with the metaid attribute unset</li>
667 </ol>
668
669 <hr>
670
671 <h4>SBMLSpeciesReference = SpeciesReference_unsetName(SBMLSpeciesReference)</h4>
672
673 <p>Takes</p>
674
675 <ol>
676 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
677 </ol>
678
679 <p>Returns</p>
680
681 <ol>
682 <li>the SBML SpeciesReference structure with the name attribute unset</li>
683 </ol>
684
685 <hr>
686
687 <h4>SBMLSpeciesReference = SpeciesReference_unsetSBOTerm(SBMLSpeciesReference)</h4>
688
689 <p>Takes</p>
690
691 <ol>
692 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
693 </ol>
694
695 <p>Returns</p>
696
697 <ol>
698 <li>the SBML SpeciesReference structure with the sboTerm attribute unset</li>
699 </ol>
700
701 <hr>
702
703 <h4>SBMLSpeciesReference = SpeciesReference_unsetSpecies(SBMLSpeciesReference)</h4>
704
705 <p>Takes</p>
706
707 <ol>
708 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
709 </ol>
710
711 <p>Returns</p>
712
713 <ol>
714 <li>the SBML SpeciesReference structure with the species attribute unset</li>
715 </ol>
716
717 <hr>
718
719 <h4>SBMLSpeciesReference = SpeciesReference_unsetStoichiometry(SBMLSpeciesReference)</h4>
720
721 <p>Takes</p>
722
723 <ol>
724 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
725 </ol>
726
727 <p>Returns</p>
728
729 <ol>
730 <li>the SBML SpeciesReference structure with the stoichiometry attribute unset</li>
731 </ol>
732
733 <hr>
734
735 <h4>SBMLSpeciesReference = SpeciesReference_unsetStoichiometryMath(SBMLSpeciesReference)</h4>
736
737 <p>Takes</p>
738
739 <ol>
740 <li>SBMLSpeciesReference, an SBML SpeciesReference structure</li>
741 </ol>
742
743 <p>Returns</p>
744
745 <ol>
746 <li>the SBML SpeciesReference structure with the stoichiometryMath field unset</li>
747 </ol>
748
749 <hr>