Description Usage Arguments Examples
Plot for each formed cluster, in grey the values of all samples of that cluster and in blue the median of that samples.
1 | kmeans_plot(dataset, kmeans.result)
|
dataset |
list representing the dataset from a metabolomics experiment. |
kmeans.result |
object of class kmeans with the clustering results. |
1 2 3 4 5 6 | ## Example of kmeans plot - dataset filtered for performance purposes
library(specmine.datasets)
data(cachexia)
kmeans.result = kmeans_clustering(cachexia,
num.clusters = 4, type = "samples")
kmeans_plot(cachexia, kmeans.result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.