Learn R Programming

mappeR (version 2.0.2)

get_raw_clusters: Ship data off to the clustering goblins

Description

This function tells the computer to look away for a second, so the goblins come and cluster your data while it's not watching.

Usage

get_raw_clusters(dist_mats, clusterer)

Value

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)

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.