clusteringCoefficient {PCIT} | R Documentation |
The clustering coefficient is defined as the proportion of existing connections from the total possible (Watts and Strogatz, 1998).
clusteringCoefficient(adj)
adj |
- An adjacency matrix. Calculating the clustering coefficient only makes sense if some connections are zero i.e. no connection. |
A vector of clustering coefficients for each node/gene of the adjacency matrix.
Nathan S. Watson-Haigh
D.J. Watts and S.H. Strogatz. (1998) Collective dynamics of 'small-world' networks. Nature. 393(6684). 440-442.