RWR {scapGNN} | R Documentation |
Function that performs a random Walk with restart (RWR) on a given graph
Description
Function that performs a random Walk with restart (RWR) on a given graph
Usage
RWR(W, ind.positives, gamma = 0.6)
Arguments
W |
: adjacency matrix of the graph |
ind.positives |
: indices of the "core" positive examples of the graph. They represent to the indices of W corresponding to the positive examples |
gamma |
: restart parameter (def: 0.6) |
Value
a list with three elements: - p : the probability at the steady state - ind.positives : indices of the "core" positive examples of the graph (it is equal to the same input parameter - n.iter : number of performed iterations
a vector
[Package scapGNN version 0.1.4 Index]