get_KGML: Download and parse KGML file

Description Usage Arguments Value Examples

Description

Download and parse KGML file

Usage

1
get_KGML(pathwayid, get_if_no_edges = FALSE)

Arguments

pathwayid

A KEGG pathway ID of the form "hsa12345" (only human pathways currently)

get_if_no_edges

A logical indicator; if pathway has no edges returns null value if set to TRUE

Value

an object of Formal class KEGGPathway

Examples

1
2
3
4
5
6
7
8
mtor_KGML <- get_KGML("hsa04150")

# Some pathways contain only node information; since the purpose of this
# package is to explore pathways in an edge-focused manner, the default
# options return a warning message instead of a parsed KGML file if the 
# input pathway has no edges.
ribosome_KGML <- get_KGML("hsa03020") 
ribosome_KGML <- get_KGML("hsa03020", get_if_no_edges = TRUE) 

shanawhite-UC/KEGGlincs documentation built on May 29, 2019, 8:07 p.m.