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, based on the embedding of the network to d-dimensional Euclidean space with centred or non-centred Minimum Curvilinear Embedding (MCE and ncMCE, respectively).
1 |
g |
igraph; The network of interest. |
d |
integer; The dimension of the embedding space. |
centre |
logical; Indicates whether the Minimum Curvilinear kernel should be centred or not. |
use_weights |
logical; Indicates whether edge weights should be used to compute the network's Minimum Curvilinear kernel. |
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) Minimum curvilinearity to enhance topological prediction of protein interactions by network embedding. Bioinformatics 29:i199-i209
1 2 3 | # Apply the ncMCE link predictor to the Zachary Karate Club
# network
mce <- lp_mce(g = karate_club, d = 2, centre = FALSE, use_weights = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.