similarity_reorder: cluster and reorder

View source: R/heatmaps.R

similarity_reorderR Documentation

cluster and reorder

Description

given a matrix (maybe a distance matrix), cluster and then re-order using dendsort.

Usage

similarity_reorder(
  similarity_matrix,
  matrix_indices = NULL,
  transform = "none",
  hclust_method = "complete",
  dendsort_type = "min"
)

Arguments

similarity_matrix

matrix of similarities

matrix_indices

indices to reorder

transform

should a transformation be applied to the data first

hclust_method

which method for clustering should be used?

dendsort_type

how should the reordering be done? (default is "min")

Value

a dendrogram object. To get the order use order.dendogram.


rmflight/visualizationQualityControl documentation built on Feb. 18, 2024, 9:46 a.m.