igraph.from.graphNEL: Convert graphNEL objects from the graph package to igraph

View source: R/conversion.R

igraph.from.graphNELR Documentation

Convert graphNEL objects from the graph package to igraph

Description

[Deprecated]

igraph.from.graphNEL() was renamed to graph_from_graphnel() to create a more consistent API.

Usage

igraph.from.graphNEL(graphNEL, name = TRUE, weight = TRUE, unlist.attrs = TRUE)

Arguments

graphNEL

The graphNEL graph.

name

Logical scalar, whether to add graphNEL vertex names as an igraph vertex attribute called ‘name’.

weight

Logical scalar, whether to add graphNEL edge weights as an igraph edge attribute called ‘weight’. (graphNEL graphs are always weighted.)

unlist.attrs

Logical scalar. graphNEL attribute query functions return the values of the attributes in R lists, if this argument is TRUE (the default) these will be converted to atomic vectors, whenever possible, before adding them to the igraph graph.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.