Learn R Programming

brainGraph (version 2.7.3)

hubness: Calculate vertex hubness

Description

hubness calculates the "hubness" (see reference) of the vertices in a graph. These are vertices which meet at least two of the following four criteria:

  1. Have high degree/strength

  2. Have high betweenness centrality

  3. Have low clustering coefficient

  4. Have low average path length

For each criterion, "high" or "low" means "in the top 20%" across all vertices. Vertices meeting any of the criteria get a value of 1 for that metric; these are summed to yield the hubness score which ranges from 0-4. As in the reference article, vertices with a score of 2 or higher are to be considered hubs, although that determination isn't made in this function.

Usage

hubness(g, xfm.type = g$xfm.type, weights = NULL)

Arguments

g

An igraph graph object

xfm.type

Character string specifying how to transform the weights (default: 1/w)

weights

Numeric vector of edge weights; if NULL (the default), and if the graph has edge attribute weight, then that will be used. To avoid using weights, this should be NA.

Value

A numeric vector with the vertices' hubness score

References

van den Heuvel M.P., Mandl R.C.W., Stam C.J., Kahn R.S., Pol H.E.H. (2010) Aberrant frontal and temporal complex network structure in schizophrenia: a graph theoretical analysis. The Journal of Neuroscience, 30(47):15915-15926.