make_cluster: Hierarchical Clustering

Description Usage Arguments Value Author(s)

View source: R/cluster_and_reorder.R

Description

Reorder matrix_data by hierarchical cluster

Usage

1
2
3
4
5
6
7
8
9
make_cluster(
  md,
  index = 1,
  cluster = "none",
  cluster_method = "complete",
  row_dist = NULL,
  col_dist = NULL,
  ...
)

Arguments

md

a matrix_data object.

index

a integer or character index, specifying which matrix to cluster by.

cluster

one of "all", "row", "col" or "none".

cluster_method

the clustering agglomeration method to be used.

row_dist, col_dist

dist function, see details.

...

extra parameters for dist.

Value

a modified matrix_data object.

Author(s)

Hou Yun


Hy4m/hyplot documentation built on March 29, 2021, 6:19 p.m.