enzsub_graph {OmnipathR} | R Documentation

## Enzyme-substrate graph

### Description

Transforms the a data frame with enzyme-substrate relationships (obtained by `import_omnipath_enzsub`) to an igraph graph object.

### Usage

    enzsub_graph(enzsub)

### Arguments

`enzsub` | Data frame created by `import_omnipath_enzsub`

### Value

An igraph directed graph object.

### See Also

- `import_omnipath_enzsub`

- `giant_component`

- `find_all_paths`

### Examples

    enzsub <- import_omnipath_enzsub(resources = c('PhosphoSite', 'SIGNOR'))
    enzsub_g <- enzsub_graph(enzsub = enzsub)

[Package OmnipathR version 3.0.0 Index]