Description Usage Arguments Details Value Author(s) See Also Examples
Given a number of clusters k as input, cluster a dataset using multiple methods.
1 | autoCompareClustering(data, kinput)
|
data |
A matrix of values to cluster by row. To cluster by column, simply transpose the matrix. However, note that the row names must be unique, as the framework uses the row names in calculating the between-method metrics. |
kinput |
A desired geometry (number of clusters) k, greater than 1 and less than n (number of genes or samples). |
This is a wrapper function for CompareClustering
that has suitable defaults for automatically clustering and producing
results for a given k (number of clusters). In the case of
hierarchical methods, the dendrograms will be pruned at a height
that yields that number of clusters.
Note that for SOM, we are essentially limiting it to a one dimensional
map (k x 1). If two dimensional maps are required,
CompareClustering
is a more appropriate function.
resultset |
A result set that can be read by
|
Ted Laderas (laderast@ohsu.edu)
1 2 3 4 5 6 | ##load data
data(chocellcycle)
##look for 5 clusters
resultset <- autoCompareClustering(chocellcycle, kinput=5)
##examine results
ClusterReport(resultset, "test")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.