This function tells the computer to look away for a second, so the goblins come and cluster your data while it's not watching.
get_raw_clusters(dist_mats, clusterer)
Arguments
dist_mats: A list of distance matrices of each bin that is to be clustered.
clusterer: A function which accepts a list of distance matrices as input, and returns the results of clustering done on each distance matrix in a list.
Returns
The output of clusterer(dist_mats), which needs to be a list containing named vectors (one per bin), whose names are data point names and whose values are cluster labels (within each bin)