.mahDist {twoddpcr} | R Documentation

## Mahalanobis distance of droplets from a distribution.

### Description

Find the Mahalanobis distance of all droplets from a given distribution.

### Usage

    .mahDist(droplets, clusStats)

### Arguments

`droplets` | A data frame of droplets with `Ch1.Amplitude` and `Ch2.Amplitude` columns.
`clusStats` | A list of statistics for a cluster generated by `classStats`. This should have a `mean`, `cov` and `cov.inv` values.

### Value

A vector of numbers, where each one corresponds to the distance of that droplet from the given distribution.

### Author(s)

Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk

[Package twoddpcr version 1.18.0 Index]