Description Usage Arguments Examples
Plot dendrogram of hierarchical clustering results.
1 2 | dendrogram_plot(dataset, hc.result, column.metadata = 1,
labels = NULL, ...)
|
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. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.