compute_ra: Compute the Resource Allocation score of two nodes

Description Usage Arguments Value Author(s) References

View source: R/link_predictors.R

Description

Given two indices representing two nodes and a list of neighbourhoods, compute the Resource Allocation index for the node pair. This function is used by lp_ra.

Usage

1
compute_ra(ne, i, j)

Arguments

ne

list; The neighbourhood of all nodes from a network of interest.

i

integer; The ID of a network node.

j

integer; The ID of a network node.

Value

The Resource Allocation likelihood score of interaction for the node pair i-j.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

References

Zhou, T. et al. (2009) Predicting missing links via local information. The European Physical Journal B 71(4):623-630


galanisl/LinkPrediction documentation built on May 17, 2019, 12:10 p.m.