The function clusters cells with the K-means++ algorithm
Arguments
- object
An object of
SingleCellExperiment
class.- nclusters
Cluster the cells into n clusters. Ignored if the number of cells in
object
is lower or equal tonclusters
.- use.emb
Should the embedding be used to cluster or the log-transformed data. By default
TRUE
.- emb.name
Which embedding to use. By default
"PCA"
.