# NOT RUN {
# 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")
# }
Run the code above in your browser using DataLab