View source: R/summarize_dataset.R
find_closest_matches | R Documentation |
Given a distance matrix with samples on rows and names on columns, return a list of vectors with the closest-matching names for each sample.
find_closest_matches(dist_mat, range = 2, maximum = 8)
dist_mat |
matrix of distance values, such as produced by make_dist_mat and make_dist_mat_known. |
range |
optional numeric for distances to each set of nearby names, relative to the closest match. |
maximum |
optional numeric maximum value for any distance. |
list of named vectors containing distances for each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.