brainconn.centrality.subgraph_centrality

subgraph_centrality(CIJ)[source]

The subgraph centrality of a node is a weighted sum of closed walks of different lengths in the network starting and ending at the node. This function returns a vector of subgraph centralities for each node of the network.

Parameters: