identifyCentroids: Identify cluster centroids (cell names)

Description Usage Arguments Details Value Examples

View source: R/functions-core.R

Description

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

Usage

1
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

1
2
3
4
## Not run: 
centroid_names <- identifyCentroids(ref_clusters)

## End(Not run)

phemd documentation built on Nov. 8, 2020, 8:15 p.m.