cluster_spectrum {motifcluster} | R Documentation |
Get a vector of cluster assignments from a spectrum,
using k-means++ and num_clusts
clusters.
cluster_spectrum(spectrum, num_clusts)
spectrum |
A list containing |
num_clusts |
The number of clusters to find. |
A length-nrow(spectrum$vects) vector of integers from 1 to num_clusts, representing cluster assignments.