View source: R/cluster_factory.R
get_clusters | R Documentation |
This function processes the binned data and global distance matrix to return freshly clustered data.
get_clusters(bins, dists, clusterer)
bins |
A list containing "bins" of vectors of names of data points. |
dists |
A distance matrix containing pairwise distances between named data points. |
clusterer |
A function which accepts a list of distance matrices as input, and returns the results of clustering done on each distance matrix. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.