pwCompareReactionNetworks
pwCompareReactionNetworks(model1, model2, ignoreParameterIDs,
ignoreRateSignatures, orderComplexes)
Compares the reaction networks of two models:
Collects equal reactions and shows reactions
which are present only in one network.
model1 By default the first selected model.
Else the index of the first model in the model repository list.
model2 By default the second selected model
Else the index of the second model in the model repository list.
ignoreParameterIDs If true, the number and names of parameters are ignored.
This is useful, if only the model structure should be compared.
Default: false
ignoreRateSignatures If true, the kinetic rate of each reaction is ignored.
Default: false
orderComplexes Each complex is ordered alphabetically by the
involved basic species, e.g. pC_qA is reordered to qA_pC.
A prerequisite is use of the PottersWheel naming convention
as described in pwAddX.
Default: false
Description
This function is also useful to identify whether a model imported or
created in two different ways is identical.
By setting ignoreParameterIDs, ignoreRateSignatures, and orderComplexes
to true, the model structure is compared in the least strict manner.
Example
% We compare example models M1 and M2
pwAddModel('M1');
pwAddModel('M2');
pwCompareReactionNetworks
% Output (reactants -> products, rate signature, parameters):
1 common reaction, 1 only in first network, 1 only in second network.
1 reactions only in M1:
pR --> R, k1*r1, R_deact
1 reaction only in M2:
pR --> iR, k1*r1, R_int
See also