Description Usage Arguments Value Author(s) References Examples
For each weighted edge in the given network, it computes two p-values representing its local significance for the two nodes it touches. This function returns only the minium p-value for the two that are computed.
1 | get_edge_disparity_pvals(net, deg_one_pval = 1)
|
net |
igraph; An undirected weighted network. |
deg_one_pval |
numeric; By default, edges of degree-one nodes are assigned a p-value of 1. This can be changed through this parameter. |
An igraph object with a new edge attribute:
pval |
A numeric vector of p-values for each weighted edge of the input network. |
Gregorio Alanis-Lobato galanisl@uni-mainz.de
Serrano, M. A. et al. (2009) Extracting the multiscale backbone of complex weighted networks. PNAS 106(16).
1 2 | # Get disparity p-values for the edges of the included US Airports network
air_with_pval <- get_edge_disparity_pvals(net = air)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.