Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/buildSBMLFromPathways.R
Creates an SBML model containing all species, reactions and compartments that are part of (a) given pathway(s) in the database document (e.g. Recon2) passed as an argument.
1 | buildSBMLFromPathways(query, database, match.exact=TRUE)
|
query |
a |
database |
an object of class |
match.exact |
|
a rsbml Model
object containing all reactions, species and
compartments that are present in the database for the query
pathway(s) or NULL if none of the pathways in the database match the query.
If the reactions in the database document provided in the argument
database
do not contain any "<notes>" with tags with pathway information
indicated by the string "SUBSYSTEM", no pathway information can be
extracted and thus the SBML model returned will be empty.
Anand Gavai, Hannes Hettling
Thiele, I. et al. Nat Biotech, 2013
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | data("Recon2")
database <- Recon2
##Get Model for specific pathway
m1 <- buildSBMLFromPathways("Arginine and Proline Metabolism", database)
##Get Model for specific pathway "Metabolism": does not exist!
m2 <- buildSBMLFromPathways("Metabolism", database)
##Get model of all pathways which contain keyword "metabolism"
m3 <- buildSBMLFromPathways("Metabolism", database, match.exact=FALSE)
##Multi-query:
query <- c("Transport, endoplasmic reticular", "Arginine and Proline Metabolism")
m4 = buildSBMLFromPathways(query, database)
m5 = buildSBMLFromPathways(query[1], database)
length(m4@species)
length(m5@species)
##different database
data(H.pylori_ilT341)
database <- H.pylori_ilT341
m7 <- buildSBMLFromPathways("Metabolism", database, match.exact=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.