readjust_clusters: Repartitions existing clusters to achieve desired...

View source: R/Microclusters.R

readjust_clustersR Documentation

Repartitions existing clusters to achieve desired granularity.

Description

By default, minimum number of clusters to be generated is the squareroot of the number of cells.

Usage

readjust_clusters(clusters, data, cellsPerPartition = 100)

Arguments

clusters

List of clusters, each entry being a vector of cells in a cluster.

data

NUM_SAMPLES x NUM_PROTEINS data matrix that was used to generate clusters

cellsPerPartition

the number of cells for a single partition the algorithm should aim for

Value

Repartitioned clusters, such that a desireable number of microclusters is acheived.


YosefLab/FastProjectR documentation built on June 13, 2024, 4:20 p.m.