dendrogram_plot: Plot dendrogram

Description Usage Arguments Examples

Description

Plot dendrogram of hierarchical clustering results.

Usage

1
2
dendrogram_plot(dataset, hc.result, column.metadata = 1, 
labels = NULL, ...)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

hc.result

object of class hclust with the clustering results.

column.metadata

string or index indicating what metadata to use to name the leafs.

labels

vector with the leaf names (optional).

...

other parameters for plotting.

Examples

1
2
3
4
5
6
  ### Example of a dendrogram
  library(specmine.datasets)
  data(cachexia)
  hc.result = hierarchical_clustering(cachexia)
  dendrogram_plot(cachexia, hc.result)
  

specmine documentation built on Sept. 21, 2021, 5:06 p.m.