Description Details Author(s) Examples
general helpers for retrieving data from KDataSet, reactions list or mgraph object
All functions below are generic functions. Function names are self-explanatory:
pathInfo(object): pathway info
Organism(object): organism name
Species(object): alias of Organism
Genes(object): all genes/orthologs
Compounds(object): all compounds
Chemicals(object): alias of Compounds
Reactions(object, list.only=TRUE): reactions list or ReactionSet object (list.only=FALSE for mgraph object)
ZG Zhao
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(syzMetab)
d.path <- file.path(path.package("syzMetab"), "KEGG")
pp <- make_kdset("ko00010", d.path)
##
## KEGG pathway data
pathInfo(pp)
Organism(pp)
Compounds(pp)
Chemicals(pp)
Genes(pp)
Reactions(pp)
##
## metabolic graph
gg <- make_mgraph(pp)
Organism(gg)
Compounds(gg)
Chemicals(gg)
Genes(gg)
Reactions(gg)
Reactions(gg, list.only=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.