lp_igraph: Link prediction with methods available in igraph

Description Usage Arguments Value Author(s)

View source: R/link_predictors.R

Description

Given a network of interest, it computes the likelihood score of interaction, for all disconnected node pairs, with the link predictors provided by igraph. This function is used by lp_jc, lp_dice and lp_aa.

Usage

1
lp_igraph(g, method)

Arguments

g

igraph; The network of interest.

method

character; One of "jaccard", "dice" or "invlogweighted".

Value

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.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de


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