View source: R/optimal_clustering.R
optimalClustering | R Documentation |
Clustering with the optimal parameters estimated by these tools
optimalClustering(data, clusters, algorithm)
data |
A dataframe, where columns are features and rows are data points |
clusters |
Number of clusters to be generated by this clustering |
algorithm |
The clustering algorithm to be used |
An object of class "optimalClustering" containing a dataframe with the memberships of the samples found in the input data, the optimal stability score and parameter used
optimalClustering(toy_genes, 2,"kmeans")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.