.cov {twoddpcr} | R Documentation

## Get the covariance of a cluster.

### Description

Get the covariance of a single cluster.

### Usage

    .cov(cl, droplets, classCol)

### Arguments

`cl` | The cluster of which to find the covariance.
`droplets` | A data frame of droplets with `Ch1.Amplitude` and `Ch2.Amplitude` columns, as well as a class column (see the parameter `classCol`).
`classCol` | The column (name or number) from `droplets` representing the class.

### Value

The covariance matrix of the chosen cluster. If not defined, return `NULL`.

### Author(s)

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

[Package twoddpcr version 1.16.0 Index]