SBML import {rsbml} | R Documentation

## Read in an SBML file (start here)

### Description

Read an SBML file into R.

### Usage

    rsbml_read(filename, text, check = TRUE, validate = FALSE)

### Arguments

`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

### Value

a `SBMLDocument`

### Author(s)

Michael Lawrence

### Examples

      # 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)

[Package rsbml version 1.4.0 Index]