Skip to contents

Neighborhood connectivity (Maslov and Sneppen 2002) is the mean degree of the neighbors of a node, the average neighbor degree reported by Cytoscape: $$C_{NC}(i) = \frac{1}{k_i} \sum_{j \in N(i)} k_j.$$

Usage

centrality_neighborhood_connectivity(x, mode = "all", ...)

Arguments

x

Network input accepted by centrality.

mode

For directed networks: "all" (default), "out" or "in".

...

Further arguments to centrality. The measure uses loops (keep self-loops, default TRUE).

Value

A named numeric vector with one score per node, in input node order.

Details

Edge weights are ignored. Under mode = "out" the out-degrees of the out-neighbors are averaged, and under mode = "in" the in-degrees of the in-neighbors. Self-loops change the degrees, and loops = FALSE drops them. Isolated nodes score 0. High values mark nodes attached to hubs.

References

Maslov, S., & Sneppen, K. (2002). Specificity and stability in topology of protein networks. Science, 296(5569), 910-913.

Examples

centrality_neighborhood_connectivity(regulation_net)
#>    Explore       Plan    Monitor      Adapt    Reflect    Discuss Synthesize 
#>   5.400000   5.333333   5.285714   5.166667   5.200000   5.600000   6.000000 
#>   Evaluate     Create      Share 
#>   6.000000   5.500000   6.000000