download_KEGGfile: download_KEGGfile

Description Usage Arguments Details Examples

View source: R/KEGG_function.R

Description

The function download XML files and png files from KEGG website to local disk

Usage

1
2
download_KEGGfile(pathway_id = "00010", species = "hsa",
  target_dir = getwd())

Arguments

pathway_id

the KEGG pathway id, such as '00010'

species

the species id in KEGG database, 'hsa' means human, 'mmu' means mouse, 'rno' means rat, etc

target_dir

the local directory where the downloaded files are saved

Details

If pathway_id is set as 'all', all KEGG pathway ids in KEGG.db package will be used and downloaded from KEGG website

Examples

1
download_KEGGfile(pathway_id="00010",species='hsa')

KEGGprofile documentation built on Nov. 8, 2020, 6:13 p.m.