ensure_igraph: Converts a network to igraph object unless it is already one

ensure_igraphR Documentation

Converts a network to igraph object unless it is already one

Description

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.


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.