##get list of reactions with Recon 2 identifiers from examples
path <- system.file("extdata", "Glycolysis_TCA_recon2_reactionIDs.txt", package="BiGGR")
reaction.ids <- scan(path, what=" ")
data("Recon2")
model <- buildSBMLFromReactionIDs(reaction.ids, Recon2)
Run the code above in your browser using DataLab