get.kegg.genesets( pwys, gmt.file = NULL )
parse.genesets.from.GMT( gmt.file )
KEGGPathway
objects or an
absolute file path of a zip compressed archive of pathway xml files
in KGML format.
Alternatively, an organism in KEGG three letter code,
e.g. ‘hsa’ for ‘Homo sapiens’.
KEGG Organism code http://www.genome.jp/kegg/catalog/org_list.html
keggList
, keggLink
,
KEGGPathway-class
,
parseKGML
# WAYS TO DEFINE GENE SETS ACCORDING TO HUMAN KEGG PATHWAYS
# (1) from scratch: via organism ID
gs <- get.kegg.genesets("hsa")
# (2) extract from pathways
# download human pathways via:
# pwys <- download.kegg.pathways("hsa")
pwys <- system.file("extdata/hsa_kegg_pwys.zip", package="EnrichmentBrowser")
gs <- get.kegg.genesets(pwys)
# (3) parsing gene sets from GMT
gmt.file <- system.file("extdata/hsa_kegg_gs.gmt", package="EnrichmentBrowser")
gs <- parse.genesets.from.GMT(gmt.file)
Run the code above in your browser using DataLab