.init_cluster {BayesSpace} | R Documentation

## Initialize cluster assignments

### Description

Initialize cluster assignments

### Usage

    .init_cluster(Y, q, init = NULL, init.method = c("mclust", "kmeans"))

### Arguments

`q` | Number of clusters
`init` | Vector of initial cluster assignments
`init.method` | Initialization clustering algorithm
`sce` | SingleCellExperiment
`inputs` | Results from `.prepare_inputs()`

### Value

Vector of cluster assignments.

[Package BayesSpace version 1.2.1 Index]