hcluster: hcluster

Description Usage Arguments

Description

Performs hierarchical clustering of a data matrix X. To cluster both rows and columns, call it twice with clust="col"and clust="row" respectively. The option reorder=TRUE leads to a nice arrangement of the clusters from left to right to ensure neighbors are similar to each other.

Usage

1
2
hcluster(X, clust = "col", distance = "euclidean", linkage = "complete",
  reorder = T, ncomp = NA)

Arguments

X

matrix

clust

String. Perform clustering of rows or columns, can be by column: "col" (default) or by row: "row".

distance

String. Distance measure for hierarchical clustering, can be"euclidean" (default), "pearson", "spearman".

linkage

String. Method for clusterting, can be "complete" (default), "average", "single", "ward".

reorder

Boolean. When TRUE, arranges the clustered items in optimized order.

ncomp

Integer. Default NA. If set to integer k, only the first k principal components are used in clustering


cbsteen/clustermap documentation built on May 24, 2019, 1:35 a.m.