randomWalkByMatrixInv {netSmooth} | R Documentation |
The closed-form solution is given by f_ss = (1 - alpha) * (I - alpha * A)^-1 * f_0 and is computed by matrix inversion in this function.
randomWalkByMatrixInv(f0, adjMatrix, alpha, normalizeAjdMatrix = c("rows", "columns"))
f0 |
initial data matrix [NxM] |
adjMatrix |
adjacency matrix of graph to network smooth on will be column-normalized. |
alpha |
smoothing coefficient (1 - restart probability of random walk) |
network-smoothed gene expression