identifyCentroids {phemd} | R 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)

[Package phemd version 1.1.1 Index]