Transformation of distance matrix

calctrans(dists, method, d_max = 4)

Arguments

dists

A matrix of distance

method

transformation method, can be chosen from"pca" and "laplacian" "pca" calculate the first several principal components and "laplacian" calculate last several eigen values.

d_max

Maximum number of eigen decomposition. By default is 4.

Value

A matrix of co-occurrence.