Description Usage Arguments Value Author(s) References Examples
View source: R/external_TMixClust.R
plot_silhouette
1 2 | plot_silhouette(TMixClust_object, sim_metric = "euclidean",
sil_color = "#bdbdbd")
|
TMixClust_object |
list object created by the |
sim_metric |
character string taking one of the possible values: "euclidean", "gower" or "manhattan". Default is "euclidean". |
sil_color |
color of the bars representing the silhouette widths on the plot |
List object with the following components:
similarity_m
similarity matrix
silh
silhouette object
Renders a plot comprised of a set of barplots with the distributions of silhouette coefficients for the data points in each cluster. Each barplot has indicated on its right hand side the total number of points in the corresponding cluster. The plot also indicates with a dotted line, the overall average silhouette width, whose value is specified at the bottom of the plot.
Monica Golumbeanu, monica.golumbeanu@bsse.ethz.ch
Golumbeanu M, Desfarges S, Hernandez C, Quadroni M, Rato S, Mohammadi P, Telenti A, Beerenwinkel N, Ciuffi A. (2017) Dynamics of Proteo-Transcriptomic Response to HIV-1 Infection.
1 2 3 4 5 6 | # Load the TMixClust object associated to the toy time series data
# provided with the TMixClust package
data(best_clust_toy_obj)
# Plot the silhouette for the clustering stored in the toy TMixClust object
plot_silhouette(best_clust_toy_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.