get.backbone: get.backbone

Description Usage Arguments Value References Examples

View source: R/getBackbone_function.R

Description

This function extracts the backbone of a network

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

ITNr documentation built on March 13, 2020, 1:48 a.m.

Related to get.backbone in ITNr...