unetSim: unetSim

Description Usage Arguments Details Value References Examples

Description

This function calculates vertex proximity (similarity) with selected method and between selected vertices.

Usage

1
unetSim(graph, method)

Arguments

graph

an object of class igraph

method

a method (single string) for calculating similarities , see details for methods.

Details

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

Value

a matrix of similarity scores.

References

Examples

1
# net <- netSim(graph=proj_weighted,method="paSim")

abhik1368/netpredictor documentation built on May 10, 2019, 4:09 a.m.