get_edge_disparity_pvals: Disparity filter for an undirected weighted network

Description Usage Arguments Value Author(s) References Examples

Description

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.

Usage

1
get_edge_disparity_pvals(net, deg_one_pval = 1)

Arguments

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.

Value

An igraph object with a new edge attribute:

pval

A numeric vector of p-values for each weighted edge of the input network.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

References

Serrano, M. A. et al. (2009) Extracting the multiscale backbone of complex weighted networks. PNAS 106(16).

Examples

1
2
# Get disparity p-values for the edges of the included US Airports network
air_with_pval <- get_edge_disparity_pvals(net = air)

galanisl/DisparityFilter documentation built on May 16, 2019, 5:36 p.m.