Description Usage Arguments Value Author(s) References Examples
Analyze the clustering quality and generate a Silhouette Plot.
1 | silhouetteMLB(data, fac, method = "cosine", plot = TRUE)
|
data |
numeric matrix |
fac |
clustering factor |
method |
method to be used as distance function. Defaults to c("cosine") |
plot |
logical, shall a barplot showing the cluster silhouettes be printed |
numeric vector including the silhouette values of the data poointts in the input matrix
Damiano Fantini, damiano.fantini@gmail.com
More information and examples about mutational signature analysis can be found here:
GitHub Repo: https://github.com/dami82/mutSignatures/
More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/
Sci Rep paper, introducing mutS: https://www.nature.com/articles/s41598-020-75062-0/
Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6
Silhouette analysis in R: http://www.biotechworld.it/bioinf/2017/01/20/translating-matlabs-silhouette-function-to-r/
1 2 3 4 | library(mutSignatures)
x <- mutSignatures:::getTestRunArgs("silhouetteMLB")
y <- silhouetteMLB(data = x$data, fac = x$fac)
y
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.