kegg_picture {OmnipathR} | R Documentation |
Downloads a KEGG Pathway diagram as a PNG image.
kegg_picture(pathway_id, path = NULL)
pathway_id |
Character: a KEGG Pathway identifier, e.g. "hsa04710".
For a complete list of IDs see |
path |
Character: save the image to this path. If |
Invisibly returns the path to the downloaded file.
kegg_picture('hsa04710') kegg_picture('hsa04710', path = 'foo/bar') kegg_picture('hsa04710', path = 'foo/bar/circadian.png')