Learn R Programming

BioNet (version 1.32.0)

getEdgeList: Get representation of graph as edgelist

Description

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

Usage

getEdgeList(network)

Arguments

network
Network in graphNEL or igraph format.

Value

A matrix whose columns represent the connected edges.

Examples

Run this code
library(DLBCL)
data(interactome)
getEdgeList(interactome)[1:10,]

Run the code above in your browser using DataLab