diffusion.map.Rd
Run Diffusion Map on a precomputed distance matrix
diffusion.map(dist.mat, K = 10, sigma = NULL, nEV = 30, t = 1)
matrix; Precomputed distance matrix (symmetric)
integer; Adaptive kernel bandwidth for each point set to be the distance to its K
-th nearest neighbor.
numeric; Fixed kernel bandwidth, sigma
will be ignored if K
is specified.
integer; Number of leading eigenvectors to export
integer; Number of diffusion times
List with the following elements:
diffu.emb | Diffusion Map embedding with the leading K eigenvectors |
eigen.vals | Eigenvalues associated with corresponding eigenvectors |