Learn R Programming

mutSignatures (version 1.2)

silhouetteMLB: Silhouette Analysis

Description

Analyze the clustering quality and generate a Silhouette Plot

Usage

silhouetteMLB(data, fac, method = "cosine", plot = TRUE)

Arguments

data

numeric matrix

fac

clustering factor

method

method to be used as distance function

plot

logic, if TRUE plot a silhouette plot during the analysis

Value

numeric vector including the silhouette values of the data poointts in the input matrix

References

More info at: http://www.biotechworld.it/bioinf/2017/01/22/mutsignatures/

Examples

Run this code
# NOT RUN {
tmp <- getTestRunArgs(4)
silhouetteMLB(data = tmp$data, fac = tmp$fac)
# }

Run the code above in your browser using DataLab