Sets the clustering algorithm used to construct the connected components in the pullback cover.
Either one of the link criteria used in the
Type of heuristic to determine cut value. See details. Ignored is
Additional parameters passed as defaults to the cutoff method. See details.
cl is a linkage criterion, a standard hierarchical clustering algorithm is used with suitable default parameters.
If it is a function, it must have a signature compatible with
function(pid, idx, self, ...) where
pid is the index of the (pullback) set to cluster (see
idx are the indices of the points in
X to cluster on, and
self is the
MapperRef instance environment.
The cutoff method may be one of either c("continuous", "histogram"). See
for what they each correspond to, respectively. Additional named parameters passed via
... act as defaults to the cutting method chosen.
If not chosen, reasonable defaults are used.
Additional named parameters passed via the dots in
will taken precedence and override all previously set default settings.