RWR | R Documentation |
Function that performs a random Walk with restart (RWR) on a given graph
RWR(W, ind.positives, gamma = 0.6)
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) |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.