getArithmeticCentroids: Get arithmetic centroids (coordinates)

View source: R/functions-core.R

getArithmeticCentroidsR Documentation

Get arithmetic centroids (coordinates)

Description

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

Usage

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

## Not run: 
cluster_centroids <- getArithmeticCentroids(ref_clusters)

## End(Not run)

KrishnaswamyLab/phemd documentation built on April 24, 2023, 3:50 p.m.