Skip to contents

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.

Examples

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