| SBML import {rsbml} | R Documentation |
Read an SBML file into R.
rsbml_read(filename, text, quiet = FALSE, validate = FALSE)
filename |
the name of the SBML file to parse |
text |
a string of SBML text to parse (instead of file) |
quiet |
whether to report problems encountered during parsing |
validate |
whether to perform XML schema validation |
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)