Description Usage Arguments Details Value References Examples
This function calculates vertex proximity (similarity) with selected method and between selected vertices.
1 | unetSim(graph, method)
|
graph |
an object of class |
method |
a method (single string) for calculating similarities , see details for methods. |
Get similarity using various link prediction methods
Following methods are available:
aa
Adamic-Adar index
act
average commute time
cn
common neighbours
jc
cosine similarity
dice
cosine similarity on L+
invL
graph distance
hdi
Hub Depressed Index
hpi
Hub Promoted Index
dist
Jaccard coefficient
katz
Katz index
lhn
Leicht-Holme-Newman Index
lp
Local Path Index
cosine
Matrix Forest Index
pa
preferential attachment
ra
resource allocation index
a matrix of similarity scores.
T. Zhou, L. Lv, and Y.-C. Zhang.Predicting missing links via local information, The European Physical Journal B - Condensed Matter and Complex Systems, vol. 71, no. 4, pp. 623-630, Oct. 2009.
1 | # net <- netSim(graph=proj_weighted,method="paSim")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.