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)

wschen/phemd documentation built on Oct. 1, 2024, 4:45 a.m.