sc3_kmeans {SC3} | R Documentation

## `kmeans` clustering of cells.

### Description

This function performs `kmeans` clustering of the matrices contained in the `transformations` item of the `sc3` slot of the `metadata(object)`. It then creates and populates the following items of the `sc3` slot:

- `kmeans` - contains a list of kmeans clusterings.

### Usage

    sc3_kmeans.SingleCellExperiment(object, ks)

    ## S4 method for signature 'SingleCellExperiment'
    sc3_kmeans(object, ks = NULL)

### Arguments

`object` | an object of `SingleCellExperiment` class
`ks` | a continuous range of integers - the number of clusters `k` to be used for SC3 clustering. Can also be a single integer.

### Value

an object of `SingleCellExperiment` class

[Package SC3 version 1.15.1 Index]