This function processes the binned data and global distance matrix to return freshly clustered data.
get_clusters(bins, dists, clusterer)
The output of clusterer
applied to a list of distance matrices, which should be a list containing named vectors (one per bin), whose names are data point names and whose values are cluster labels.
A list containing "bins" of vectors of names of data points.
A distance matrix containing pairwise distances between named data points.
A function which accepts a list of distance matrices as input, and returns the results of clustering done on each distance matrix.