| Cluster | R Documentation |
Cluster one data (or distance) matrix with agglomerative hierarchical
clustering. This is the Layer-2 baseline primitive of the MoSaIC framework:
run it on each tile on its own to see what each modality recovers before
integrating. It also underpins HierarchicalEnsembleClustering.
Cluster(
Data,
type = c("data", "dist"),
distmeasure = "euclidean",
normalize = FALSE,
method = NULL,
clust = "agnes",
linkage = "ward",
alpha = 0.625,
StopRange = TRUE,
...
)
Data |
A data matrix (objects in rows) or a precomputed distance matrix. |
type |
|
distmeasure |
Distance measure (see |
normalize, method |
Normalisation controls passed to |
clust |
Clustering backend; currently |
linkage |
Agglomeration method. Default |
alpha |
Flexible-linkage parameter for |
StopRange |
Logical; if |
... |
Ignored; accepted for backward compatibility (e.g. |
A list with DistM (the dissimilarity matrix) and Clust
(an agnes object).
Distance, M_ABC
data(mosaic_toy)
base1 <- Cluster(t(mosaic_toy$List[[1]]), type = "data",
distmeasure = "euclidean")
mosaic_labels(base1, k = 3)[1:6]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.