Vertex Roles {brainGraph} | R Documentation |
Gateway coefficient, participation coefficient, and within-mod degree z-score
Description
gateway_coeff
calculates the gateway coefficient of each vertex,
based on community membership.
part_coeff
calculates the participation coefficient of each vertex,
based on community membership.
within_module_deg_z_score
is a measure of the connectivity from a
given vertex to other vertices in its module/community.
Usage
gateway_coeff(g, memb, centr = c("btwn.cent", "degree", "strength"),
A = NULL, weighted = FALSE)
part_coeff(g, memb, A = NULL, weighted = FALSE)
within_module_deg_z_score(g, memb, A = NULL, weighted = FALSE)
Arguments
g |
An |
memb |
A numeric vector of membership indices of each vertex |
centr |
Character string; the type of centrality to use in calculating
GC. Default: |
A |
Numeric matrix; the adjacency matrix of the input graph. Default:
|
weighted |
Logical indicating whether to calculate metrics using edge
weights. Default: |
Details
The gateway coefficient of vertex i is:
where is the number of edges from vertex i to
vertices in module S, and
is the degree of vertex
i.
equals the number of modules.
is a weight,
defined as:
where
for all nodes in node
's module, and
The participation coefficient of vertex i is:
where is the number of edges from vertex i to
vertices in module s, and
is the degree of vertex
i.
equals the number of modules.
As discussed in Guimera et al., if vertex i is connected
only to vertices in the same module, and
if vertex i is
equally connected to all other modules.
The within-module degree z-score is:
where is the number of edges from vertex i to vertices
in the same module
,
is the average of
over all vertices in
, and
is the standard deviation.
Value
A vector of the participation coefficients, within-module degree z-scores, or gateway coefficients for each vertex of the graph.
Author(s)
Christopher G. Watson, cgwatson@bu.edu
References
Vargas, E.R. and Wahl, L.M. (2014) The gateway coefficient: a novel metric for identifying critical connections in modular networks. Eur Phys J B, 87, 161–170. doi: 10.1140/epjb/e2014-40800-7
Guimera, R. and Amaral, L.A.N. (2005) Cartography of complex networks: modules and universal roles. Journal of Statistical Mechanics: Theory and Experiment, 02, P02001. doi: 10.1088/1742-5468/2005/02/P02001