download_KEGGfile {KEGGprofile} | R Documentation |
The function download XML files and png files from KEGG website to local disk
download_KEGGfile(pathway_id = "00010", species = "hsa", target_dir = getwd())
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 |
If pathway_id is set as 'all', all KEGG pathway ids in KEGG.db package will be used and downloaded from KEGG website
download_KEGGfile(pathway_id="00010",species='hsa')