.numberOfWells {twoddpcr} | R Documentation

## Find the number of wells in the data frame.

### Description

Auxiliary function to find the number of wells that appear in the data frame, each with the same frequency (almost certainly once or twice). If some wells appear more than others, the function stops because the data is in an unknown format.

### Usage

    .numberOfWells(df)

### Arguments

`df` | A data frame of droplet counts with a `Well` column.

### Details

Bio-Rad's QuantaSoft produces data in long form tables, i.e. for each well there is a row for each target such as mutant and wild type. In this package, we prefer to work with wide form tables that combine the mutant and wild type parts.

### Value

An integer giving the number of wells.

### Author(s)

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

[Package twoddpcr version 1.16.0 Index]