Use NMF to cluster the cells. Currently, the Lee and Seung algorithm is implemented via a call to renozao/NMF. If cluster-number is inferred then output relevent diagnostics (eg the eigenvalue spaceing of the ensemble method).
ClusterCells(similarityMatrix = NULL, n_clusters = NULL, n_comp = 3, ...)
similarityMatrix | a symmetric nonnegative similarity matrix |
---|---|
n_clusters | default is NULL, ensemble method will be called |
n_comp | the number of similarity components to use for ensemble clustering |
... | additional parameters for NMF |
a list containing
the cluster weight matrix, the factorization of the similarity matrix
the cluster labels
results of model selection