Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/current_centr.R
A variant of closeness centrality based on circuits
1 2 3 4 5 6 7 |
graphs |
A list of igraph objects or connectivity matrices |
col.names |
The names of each column (node labels). |
row.names |
The names of each row (subject). |
parallel |
Should multiple cores be used? Defaults to FALSE. If TRUE, progress bar is not displayed. This is normal. |
cores |
How many cores should be used? Defaults to recommended 1 less than number of CPU cores. |
Current flow centrality was developed based on the properties of electrical circuits. It is a variant of closeness centrality that imagines edges resistors and the nodes as relays between resistors. Weighted edge information is taken into account as the absolute value. Non-zero edge are conceptually "conductors" while zero edges are "resistors."
Current flow centrality is somewhat mathematically involved, but the final formula is
\displaystyle{∑_j A_{i,j} (v_{i}^{(s,t)} - v_{j}^{(s,t)}) = u_{i}^{(s,t)}}$.
See the website in the references for a full explanation. The method involves calculating the laplacian representation of a graph.
A matrix contaning the centrality scores.
Brandon Vaughan
Brandes U., Fleischer D. (2005) Centrality Measures Based on Current Flow. In: Diekert V., Durand B. (eds) STACS 2005. STACS 2005. Lecture Notes in Computer Science, vol 3404. Springer, Berlin, Heidelberg
https://www.sci.unich.it/~francesc/teaching/network/flowcentrality.html
closeness_centr
laplace_centr_mult
current_centr
1 | current_centr_mult(graph)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.