fg.local.scan | R Documentation |
Compute locality statistic of vertices in a graph.
fg.topK.scan(graph, order = 1, K = 1) fg.local.scan(graph, order = 1)
graph |
The FlashGraph object |
order |
An integer scalar, the size of the local neighborhood for each vertex. Should be non-negative. |
K |
The number of top scan statistics. |
‘fg.topK.scan’ finds the top K vertices with the largest locality statistics in a graph and computes their locality statistic.
‘fg.local.scan’ computes locality statistic of each vertex in a graph.
Locality statistic is defined as the number of edges in the neighborhood of a vertex.
A numeric vector that contains locality statistic of each vertex.
Da Zheng <dzheng5@jhu.edu>
C.E. Priebe, J.M. Conroy, D.J. Marchette, and Y. Park, Scan Statistics on Enron Graphs," Computational and Mathematical Organization Theory, 2005.