SBML import {rsbml} | R Documentation |
Read an SBML file into R.
rsbml_read(filename, text, check = TRUE, validate = FALSE)
filename |
the name of the SBML file to parse |
text |
a string of SBML text to parse (instead of file) |
check |
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)