SBML import {rsbml} | R Documentation |
Read an SBML file into R.
rsbml_read(filename, text, dom = TRUE, strict = FALSE, schema = FALSE, consistency = TRUE)
filename |
the name of the SBML file to parse |
text |
a string of SBML text to parse (instead of file) |
dom |
whether to convert directly to the S4 DOM ( |
strict |
whether to report warnings in addition to
errors or not ( |
schema |
whether to perform XML schema validation |
consistency |
whether to perform consistency checks; recommended but might cause performance deficiencies. |
a SBML
object, or a
SBMLDocument
if dom
is FALSE
.
Michael Lawrence
# Read an SBML file file <- system.file("sbml", "GlycolysisLayout.xml", package = "rsbml") doc <- rsbml_read(file) # Read an SBML string string <- paste(readLines(file),collapse="\n") doc <- rsbml_read(text = string)