s_core {brainGraph} | R Documentation |
Calculate the s-core of a network
Description
Calculates the s-core decomposition of a network. This is analogous to
the k-core decomposition, but takes into account the strength
of vertices (i.e., in weighted networks). If an unweighted network is
supplied, then the output of the function coreness
is
returned.
Usage
s_core(g, W = NULL)
Arguments
g |
An |
W |
Numeric matrix of edge weights (default: |
Details
The s-core consists of all vertices i
with s_i > s
, where
s
is some threshold value. The s_0
core is the entire network,
and the threshold value of the s_{n}
core is
s_{n-1} = min_i s_i
for all vertices i
in the s_{n-1}
core.
Note that in networks with a wide distribution of vertex strengths, in which there are almost as many unique values as there are vertices, then several separate cores will have a single vertex. See the reference provided below.
Value
Integer vector of the vertices' s-core membership
Author(s)
Christopher G. Watson, cgwatson@bu.edu
References
Eidsaa, M and Almaas, E. (2013) s-core network decomposition: a generalization of k-core analysis to weighted networks. Physical Review E, 88, 062819. doi: 10.1103/PhysRevE.88.062819