writeSBMLmod | R Documentation |
This function converts a data.frame or a modelOrg object to a valid SBML file. The Systems Biology Markup Language (SBML) is a representation format, based on XML, for communicating and storing computational models of biological processes.
writeSBMLmod(modelData, modelID = "model", outputFile, boundary = "b")
modelData |
A modelOrg or a data.frame object. If a data.frame is given, it must contain following mandatory colnames:
|
modelID |
A single character string giving the modelID |
outputFile |
A writable path for the output 'SBML' file to be generate |
boundary |
A single character string specifying the compartment to be used as boundary, |
A valid SBML file
Daniel Camilo Osorio <dcosorioh@tamu.edu>
# Loading a metabolic model glycolysis <- read.csv(system.file("extdata/glycolysisModel.csv",package = "minval"), sep='\t') ## Not run: # Writing a model in SBML format writeSBMLmod(modelData = glycolysis,modelID = "Glycolysis",outputFile = "glycolysis.xml") # Writing a modelOrg object in a SBML format ## Loading the sybil R package library(sybil) ## Loading the data data("Ec_core") ## Writing the modelOrg object in a SBML format writeSBMLmod(modelData = Ec_core,modelID = "E.coli",outputFile = "eColi.xml") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.