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

[Package phemd version 1.4.0 Index]