Check the equality of the species and reactions of two SBMLR models

Share:

Description

This function tests the equivalence of two models with respect to the species and reaction data frames generated by summary.

Usage

1
2
## S3 method for class 'SBMLR'
Ops(e1,e2)

Arguments

e1

The first of the two model objects of class SBML which are to be compared.

e2

The second model object.

Value

A list containing the following two boolean dataframes

species

The equality of species information tabularized as a data frame.

reactions

The equality of reaction information tabularized as a dataframe.

Author(s)

Tom Radivoyevitch

See Also

summary.SBMLR

Examples

1
2
3
4
library(SBMLR)  
curto1=readSBMLR(file.path(system.file(package="SBMLR"), "models/curto.r"))  
curto2=readSBML(file.path(system.file(package="SBMLR"), "models/curto.xml"))  
curto1==curto2