getPathwaysForSBML: Extract all pathways from a database that are relevant for a...

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/getPathwaysForSBML.R

Description

Extracts all pathway information from an rsbml document containing a metabolic reconstruction database (e.g. Recon2) and returns the subset of these pathways that is associated with the reactions in the given model. The pathway information is parsed from the "<notes>" tag of each reaction.

Usage

1
getPathwaysForSBML(model, database)

Arguments

database

an rsbml object of class SBMLDocument

model

an rsbml object of class Model

Value

A vector of type character that contains all the pathways relevant for the given model according to the specified database. Note that duplicate pathways do not appear twice in the return value.

Note

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.

Author(s)

Anand Gavai, Hannes Hettling

References

Thiele, I. et al. Nat Biotech, 2013

See Also

buildSBMLFromPathways buildSBMLFromGenes extractPathways

Examples

1
2
3
4
5
6
7
8
##Build a model from query genes
data("Recon2")
database <- Recon2
query <- c("218.1", "223.1") ##query gene identifiers
m <- buildSBMLFromGenes(query, database)

##extract all pathways for that model
getPathwaysForSBML(m, database)

hettling/BiGGR documentation built on April 17, 2020, 5:19 a.m.