Skip to contents

The function clusters cells with the K-means++ algorithm

Usage

ClusterCells(object, nclusters = 500, use.emb = TRUE, emb.name = "PCA")

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 to nclusters.

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".

Value

A SingleCellExperiment object with clusters.