R/model2string.R

Defines functions model2string

model2string <- function(model) {
  stoichiometricMatrix <- model@S
  rownames(stoichiometricMatrix) <- model@met_id
  sReactions <- minval:::rearmReactions(S = stoichiometricMatrix, reversible = model@react_rev)
  return(sReactions)
}
kellybotero/G2F documentation built on Dec. 5, 2020, 12:34 p.m.