compute_cpa: Compute the CPA 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 CPA index for the node pair. This function is used by lp_cpa.

Usage

1
compute_cpa(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 CPA likelihood score of interaction for the node pair i-j.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

References

Cannistraci, C. V. et al. (2013) From link-prediction in brain connectomes and protein interactomes to the local-community-paradigm in complex networks. Sci. Rep. 3:1613


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