Skip to contents

Converts a network to igraph object unless it is already one

Usage

ensure_igraph(network)

Arguments

network

Either an OmniPath interaction data frame, or an igraph graph object.

Value

An igraph graph object.