compute the nearest neighbors among kernels

compute_nn_from_ordination(mat_bc, knn, pcoa_train)

Arguments

mat_bc

matrix of BC dissimilarity between the kernels excluded from Ordination (rows)

knn

numeric. number of neighbors

pcoa_train

numeric. PCoA coordinates computed from dissimilarity matrix

Value

ordin_est estimated NMDS position based on nearest neighbors from NMDS