| validateSBMLdocument | R Documentation |
Validate files written in SBML.
validateSBMLdocument(sbmlf)
sbmlf |
A single character string containing a filename of an SBML file,
or an object of class |
The given SBML file is validated by the libSBML function
checkConsistency. Errors are retrieved by the libSBML function
getError and returned as list.
If argument sbmlf is an object of class character,the
function returns TRUE, if no infos, warnings, errors or fatals
have been found. Otherwise a the value returned is a list.
infos |
Infos |
warnings |
Warnings |
errors |
Errors |
fatals |
Fatals |
Each entry of one of these lists is again a list containing the message id, line and column number of the SBML file generating the message and the corresponding message text.
If argument sbmlf is an object of class sbmlPtr,
the function returns the number of errors found in the SBML document.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Bornstein, B. J., Keating, S. M., Jouraku, A., and Hucka M. (2008) LibSBML: An API Library for SBML. Bioinformatics 24, 880–881.
readSBMLmod, openSBMLfile,
getSBMLerrors, sbmlPtr
dir <- system.file(package = "sybilSBML", "extdata")
file <- file.path(dir, "ecoli_core_model.xml")
err <- validateSBMLdocument(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.