Get representation of graph as edgelist

Share:

Description

A network in graphNEL or igraph format is converted to an edgelist.

Usage

1
getEdgeList(network)

Arguments

network

Network in graphNEL or igraph format.

Value

A matrix whose columns represent the connected edges.

Author(s)

Marcus Dittrich

Examples

1
2
3
library(DLBCL)
data(interactome)
getEdgeList(interactome)[1:10,]

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.