Skip to contents

Transforms the interactions data frame to an igraph graph object.

Usage

interaction_graph(interactions = interactions)

Arguments

interactions

data.frame created by

Value

An igraph graph object.

Examples

interactions <- import_omnipath_interactions(resources = c('SignaLink3'))
#> Warning: 'import_omnipath_interactions' is deprecated.
#> Use 'import_omnipath_interactions' instead.
#> See help("Deprecated")
g <- interaction_graph(interactions)