R/getPathwaysForSBML.R

Defines functions getPathwaysForSBML

Documented in getPathwaysForSBML

##A function to extract all relevant pathways from a model given a specific database
getPathwaysForSBML <- function(model, database){
all.pathways <- extractPathways(database)
unique(sapply(lapply(model@reactions, function(x)x@id), function(y)all.pathways[[y]]))
}

Try the BiGGR package in your browser

Any scripts or data that you put into this service are public.

BiGGR documentation built on Nov. 8, 2020, 5:38 p.m.