필터 지우기
필터 지우기

simbiology: how to combine multiple species when plotting a graph?

조회 수: 4 (최근 30일)
Molly Lord
Molly Lord 2011년 9월 3일
hello,
I have some questions regarding to plotting a graph after simulating a model.
1. Is there a way to combine multiple species and consider them as one hypothetical specie? Let's say I created a model using the following reactions, and then run a simulation, and plot a graph.
ProteinA + Mg -> ProteinA_Mg
ProteinA_Mg + Mg -> ProteinA_Mg_Mg
If I want to plot a graph with only two species (Mg and ProteinA_with_any_number_of_Mg_molecules_attached), how could I accomplish this task?
2. Also, when creating a model w/out specifying the units (InitialAmountUnits and units for reaction rate constants), what unit is used by default?
Thanks in advance, Molly
  댓글 수: 2
Fangjun Jiang
Fangjun Jiang 2011년 9월 3일
You need to abstract your problem into a MATLAB programming problem and better provide some code and examples.
Walter Roberson
Walter Roberson 2011년 9월 3일
Notice the "simbiology" tag, Fangjun; the question is not a general modelling question. Still it would be easier for the specific function that produces the outputs to be posted, so that people could more easily research the matter.

댓글을 달려면 로그인하십시오.

답변 (1개)

Arthur Goldsipe
Arthur Goldsipe 2011년 9월 3일
Hi Molly,
Regarding part 1:
Probably the easiest way to do what you want is to add an pseudo-species to represent the sum of all forms of ProteinA. Add a species to the model and then add a repeatedAssigment rule of the form "ProteinA_Total = ProteinA + ProteinA_Mg + ProteinA_Mg_Mg".
You can see an example of using a repeatedAssignment rule in the gprotein demo. In the SimBiology Desktop, you can open this demo project, located in <matlabroot>/toolbox/simbio/simbiodemos/gprotein.sbproj, or you can see the full demo by search the documentation for gprotein.
Regarding part 2:
Even if you supply units in the InitialAmountUnits property of species or the ValueUnits property of parameters, SimBiology will not do unit conversion during simulation unless you explicitly enable the UnitConversion setting. By default, this setting is off, it is up to the user to ensure that species and parameters are in consistent units. So, assuming your first sample reaction has mass action kinetics with a rate constant of k, SimBiology will calculate the initial rate of change of ProteinA_Mg as k*ProteinA_0*Mg_0, where "X_0" indicates the numeric value of the InitialAmount property of species X.
-Arthur

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Import Data에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by