Skip to contents

Open a KEGG Pathway diagram in the browser

Usage

kegg_open(pathway_id)

Arguments

pathway_id

Character: a KEGG Pathway identifier, e.g. "hsa04710". For a complete list of IDs see kegg_pathway_list.

Value

Returns NULL.

Details

To open URLs in the web browser the "browser" option must to be set to a a valid executable. You can check the value of this option by getOption("browser"). If your browser is firefox and the executable is located in the system path, you can set the option to point to it: options(browser = "firefox"). To make it a permanent setting, you can also include this in your .Rprofile file.

Examples

if(any(getOption('browser') != '')) kegg_open('hsa04710')