kegg_open {OmnipathR} | R Documentation

## Open a KEGG Pathway diagram in the browser

### Description

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`.

### 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.

### Value

Returns `NULL`.

### See Also

- `kegg_pathway_list`

- `kegg_picture`

- `kegg_info`

### Examples

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

[Package OmnipathR version 3.0.0 Index]