Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/neighbor_centr_mult.R
This calculates the average strength or degree of each node's connections for multiple networks.
1 | neighbor_centr_mult(graphs, col.names = NULL, row.names = NULL)
|
col.names |
The names of each column (node labels). |
row.names |
The names of each row (subject). |
graph |
A list of networks in matrix format or as an igraph object. Can be weighted (and signed) or binary. |
This is an alternative to igraph's knn function. The name was changed from knn to avoid confusion with functions of the same name relating to the machine learning method k-nearest neighbors. The neighbor centrality of node is the mean strength or degree of all of its neighbors (connections).
A matrix of the average strength/degree of a node's neighbors for each graph.
Brandon Vaughan
Barrat, A., Barthelemy, M., Pastor-Satorras, R., Vespignani, A. (2004). The architecture of complex weighted networks, Proc. Natl. Acad. Sci. USA 101, 3747
Fornito, A., Zalesky, A., & Bullmore, E. (2016). Node Degree and Strength. Chapter 4. Fundamentals of Brain Network Analysis, 115-136. doi:10.1016/B978-0-12-407908-3.00004-2
Rubinov, M., & Sporns, O. (2011). Weight-conserving characterization of complex functional brain networks. NeuroImage, 56(4), 2068-2079. doi:10.1016/j.neuroimage.2011.03.069
strength_multiple
degree_centr
neighbor_centr
knn
1 | neighbor_centr_mult(graphs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.