interaction_graph {OmnipathR} | R Documentation

## Build Omnipath interaction graph

### Description

transforms the interactions data.frame to an igraph object

### Usage

    interaction_graph(interactions = interactions)

### Arguments

`interactions` | data.frame created by `import_omnipath_interactions`, `import_pathwayextra_interactions`, `import_kinaseextra_interactions`, `import_ligrecextra_interactions`, `import_dorothea_interactions`, `import_mirnatarget_interactions` or `import_all_interactions`

### Value

An igraph object

### See Also

`import_omnipath_interactions`, `import_pathwayextra_interactions`, `import_kinaseextra_interactions`, `import_ligrecextra_interactions`, `import_dorothea_interactions`, `import_mirnatarget_interactions` or `import_all_interactions`

### Examples

    interactions = import_omnipath_interactions(resources=c("SignaLink3"))
    OPI_g = interaction_graph(interactions)

[Package OmnipathR version 2.0.0 Index]