getArithmeticCentroids: Get arithmetic centroids (coordinates)

Description Usage Arguments Details Value Examples

View source: R/functions-core.R

Description

Takes initial list and returns a matrix with row i representing the arithmetic centroid of cluster i

Usage

1
getArithmeticCentroids(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

Matrix of dimension num_cluster x num_markers; row i representing the arithmetic centroid of cluster i

Examples

1
2
3
4
## Not run: 
cluster_centroids <- getArithmeticCentroids(ref_clusters)

## End(Not run)

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