get.backbone {ITNr} | R Documentation |
get.backbone
Description
This function extracts the backbone of a network
Usage
get.backbone(G, alpha, directed = TRUE)
Arguments
G |
igraph network |
alpha |
Significance level |
directed |
Default is TRUE |
Value
Backbone of the network
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
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)
[Package ITNr version 0.7.0 Index]