View source: R/cluster_voting.R
clusterVoting | R Documentation |
Estimating number of clusters through internal exhaustive ensemble majority voting
clusterVoting(data, min.k, max.k, algorithm)
data |
A dataframe, where columns are features and rows are data points |
min.k |
Minimum number of clusters for which we calculate stabilities |
max.k |
Maximum number of clusters for which we calculate stabilities |
algorithm |
The clustering algorithm to use for the multiple clustering runs to be measured |
An object of class "clusterVoting" containing a matrix with metric scores for every k and internal index, cluster memberships for every k, a dataframe with the k votes for every index, k vote frequencies and the frequency barplot of the k votes
clusterVoting(toy_genes, 4,14,"sc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.