powered by
Plot dendrogram of hierarchical clustering results.
dendrogram_plot(dataset, hc.result, column.metadata = 1, labels = NULL, ...)
list representing the dataset from a metabolomics experiment.
object of class hclust with the clustering results.
string or index indicating what metadata to use to name the leafs.
vector with the leaf names (optional).
other parameters for plotting.
# NOT RUN { ### Example of a dendrogram library(specmine.datasets) data(cachexia) hc.result = hierarchical_clustering(cachexia) dendrogram_plot(cachexia, hc.result) # }
Run the code above in your browser using DataLab