Description Usage Arguments Value Author(s) References Examples
View source: R/link_predictors.R
Given a network of interest, it computes the likelihood score of interaction, for all disconnected node pairs, with CAR-based Resource Allocation (CRA).
1 | lp_cra(g)
|
g |
igraph; The network of interest. |
Tibble with the following columns:
nodeA |
The ID of a network node. |
nodeB |
The ID of a network node. |
scr |
The likelihood score of interaction for the node pair. |
Gregorio Alanis-Lobato galanisl@uni-mainz.de
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
1 2 | # Apply the CRA link predictor to the Zachary Karate Club network
cra <- lp_cra(g = karate_club)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.