R/AAStoichiometryMath.R

setClass("StoichiometryMath", representation(math = "expression"), contains = "SBase")

setMethod("describe", "StoichiometryMath",
          function(object) as.character(object@math))

setMethod("math", "StoichiometryMath", function(object) object@math)

setReplaceMethod("math", "StoichiometryMath", function(object, value) {
  object@math <- asMath(value)
  object
})

Try the rsbml package in your browser

Any scripts or data that you put into this service are public.

rsbml documentation built on Nov. 8, 2020, 8:09 p.m.