identifyCentroids: Identify cluster centroids (cell names)

View source: R/functions-core.R

identifyCentroidsR Documentation

Identify cluster centroids (cell names)

Description

Takes initial list and returns list of cell names representing centroid of cluster

Usage

identifyCentroids(ref_clusters)

Arguments

ref_clusters

list containing each cluster of interest (each list element is a matrix of dimension num_cells x num_markers)

Details

Private method (not exported in namespace)

Value

List of names; element i represents the name of the cell in cluster i that is closest to the centroid (arithmetic mean) of cluster i

Examples

## Not run: 
centroid_names <- identifyCentroids(ref_clusters)

## End(Not run)

KrishnaswamyLab/phemd documentation built on Oct. 2, 2024, 5:10 a.m.