Learn R Programming

ITNr (version 0.7.0)

get.backbone: get.backbone

Description

This function extracts the backbone of a network

Usage

get.backbone(G, alpha, directed = TRUE)

Value

Backbone of the network

Arguments

G

igraph network

alpha

Significance level

directed

Default is TRUE

References

Serrano, M. Á., Boguñá, M. and Vespignani, A. (2009) Extracting the multiscale backbone of complex weighted networks, Proceedings of the National Academy of Sciences, 106(16), pp. 6483–6488.

Examples

Run this code
require(igraph)

##Create a random (directed) network
gs<-erdos.renyi.game(50,0.2,directed = TRUE)

##Add edge weights to the network
E(gs)$weight<-runif(ecount(gs), 0, 1)

##Extract backbone at 0.05 significance level
backbone<-get.backbone(gs,0.1)

Run the code above in your browser using DataLab