plotSilhouette {DIscBIO} | R Documentation |
Silhouette Plot for K-means clustering
Description
The silhouette provides a representation of how well each point is represented by its cluster in comparison to the closest neighboring cluster. It computes for each point the difference between the average similarity to all points in the same cluster and to all points in the closest neighboring cluster. This difference it normalize such that it can take values between -1 and 1 with higher values reflecting better representation of a point by its cluster.
Usage
plotSilhouette(object, K)
## S4 method for signature 'DISCBIO'
plotSilhouette(object, K)
Arguments
object |
|
K |
A numeric value of the number of clusters |
Value
A silhouette plot
[Package DIscBIO version 1.2.2 Index]