getClusteringDendrogram: getClusteringDendrogram

View source: R/clustering.R

getClusteringDendrogramR Documentation

getClusteringDendrogram

Description

Get a clustering dendrogram using hierarchical clustering (wrapper)

Usage

getClusteringDendrogram(
  X,
  samplesOrdered = colnames(X),
  distMethod = "cor",
  linkMethod = "ward.D",
  corMethod = "pearson"
)

Arguments

X

A matrix for which the sample clustering dendrogram should be computed. Samples correspond to columns and features correspond to rows. Alternatively, X can be a distance matrix (dist object)

samplesOrdered

character vector specifying the preferred order of samples

distMethod

distance metric to be used for clusteing. must be either "cor" or a valid distance method for dist()

linkMethod

linkage method (see hclust for details)

corMethod

method for computing correlation coefficients. Only relevant if distMethod=="cor".

Value

clustering dendrogram (dendrogram object)

Author(s)

Fabian Mueller


demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.