Description Usage Arguments Value References
View source: R/clusterkernel.R
Implements the bagged cluster kernel desctibed by Weston et al. Calculates a
distance metric between samples based on co-occurence in k-means clustering.
The algorithm clusters the data using a range of different values for
k
in k-means and then uses the fraction of times two data points occur
in the same cluster as their similarity.
1 | clusterkernel(x, ncluster, ninit = 100)
|
x |
A matrix of data points, samples in the rows. |
ncluster |
Maximum number of clusters to use (maximum |
ninit |
Number of times to repeat the clusterings. As k-means has some randomness to it, it might be a good idea to run it several times. |
A nrow(x)
by nrow(x)
matrix of pairwise similarities in
the range [0, 1]
Weston, J., Leslie, C., Ie, E., Zhou, D., Elisseeff, A., & Noble, W. S. (2005). Semi-supervised protein classification using cluster kernels. Bioinformatics, 21(15), 3241-3247.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.