a matrix of null diffusion scores (N.repeat—BY—number_of_nodes).
Arguments
graph
an igraph object with the length of N
initial.score
a named vector of node preferences of length N served as the initial values for diffusion algorithm.
damping
The damping factor of the diffusion algorithm.
N.repeat
number of permutation repeats of null scores.
n.cores
number of cores for parallel processing.
Details
This function calculates the null diffusion score for each node using the personalized page rank algorithm.
The initial values are obtained by permuting the given initial.score