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 Laplacian Eigenmaps.
1 |
g |
igraph; The network of interest. |
d |
integer; The dimension of the embedding space. |
use_weights |
logical; Indicates whether edge weights should be used to compute the network's Laplacian matrix. |
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
Belkin, M. and Niyogi, P. (2001) Laplacian eigenmaps and spectral techniques for embedding and clustering. Adv. Neur. In. 14:585-591
1 2 3 | # Apply the Laplacian Eigenmaps link predictor to the Zachary Karate Club
# network
leig <- lp_leig(g = karate_club, d = 2, use_weights = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.