interaction_graph {OmnipathR} | R Documentation

## Build Omnipath interaction graph

### Description

Transforms the interactions data frame to an igraph graph object.

### Usage

    interaction_graph(interactions = interactions)

### Arguments

`interactions` | data.frame created by `import_omnipath_enzsub` `import_omnipath_interactions` `import_pathwayextra_interactions` `import_kinaseextra_interactions` `import_ligrecextra_interactions` `import_post_translational_interactions` `import_dorothea_interactions` `import_tf_target_interactions` `import_transcriptional_interactions` `import_mirnatarget_interactions` `import_all_interactions`

### Value

An igraph graph object.

### See Also

- `import_omnipath_interactions`

- `import_pathwayextra_interactions`

- `import_kinaseextra_interactions`

- `import_ligrecextra_interactions`

- `import_dorothea_interactions`

- `import_mirnatarget_interactions`

- `import_all_interactions`

- `giant_component`

- `find_all_paths`

### Examples

    interactions <- import_omnipath_interactions(resources = c('SignaLink3'))
    g <- interaction_graph(interactions)

[Package OmnipathR version 3.0.0 Index]