Convert a distance matrix into a random-walk matrix based on adaptive Gaussian kernel

get.RW.matrix(dist.mat, K = 10)

Arguments

dist.mat

matrix; Precomputed distance matrix (symmetric)

K

integer; Adaptive kernel bandwidth for each point set to be the distance to its K-th nearest neighbor.

Value

Random-walk matrix