helpers_general: general helper function

Description Details Author(s) Examples

Description

general helpers for retrieving data from KDataSet, reactions list or mgraph object

Details

All functions below are generic functions. Function names are self-explanatory:

Author(s)

ZG Zhao

Examples

 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)

zgzhao/gmetab documentation built on Dec. 23, 2021, 9:17 p.m.