Description Usage Arguments Details Value Author(s) References Examples
The topological coefficient is a relative measure for the extent to which a node shares neighbors with other nodes.
1 | topocoefficient(graph, vids = V(graph))
|
graph |
The input graph as igraph object |
vids |
Vertex sequence, the vertices for which the centrality values are returned. Default is all vertices. |
Topological coefficient T(n) of a node n with k(n) neighbors defined as:
T(n)=avg(J(n,m))/k(n)
where J(n.m) is defined for all nodes m that share at least one neighbor with n. The value J(n,m) is the number of neighbors shared between the nodes n and m, plus one if there is a direct link between n and m.
Nodes that have one or no neighbors are assigned a topological coefficient of zero.
More detail at Topological Coefficient
A numeric vector contaning the centrality scores for the selected vertices.
Mahdi Jalili m_jalili@farabi.tums.ac.ir
Assenov, Yassen, et al. "Computing topological parameters of biological networks." Bioinformatics 24.2 (2008): 282-284.
1 2 | g <- graph(c(1,2,2,3,3,4,4,2), directed=FALSE)
topocoefficient(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.