isEmpty,ddpcrWell-method {twoddpcr} | R Documentation

## Is a `ddpcrWell` object empty?

### Description

Returns a logical value as to whether the given object has no droplets/wells.

### Usage

    ## S4 method for signature 'ddpcrWell'
    isEmpty(x)

    ## S4 method for signature 'ddpcrPlate'
    isEmpty(x)

### Arguments

`x` | An object to test for emptiness.

### Value

A logical value.

### Author(s)

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

### Examples

    ## Check that an empty ddpcrPlate object is in fact empty.
    krasPlate <- ddpcrPlate(wells=list())
    isEmpty(krasPlate)

    ## Now add some amplitude data and check that is not empty.
    krasPlate <- ddpcrPlate(wells=KRASdata)
    isEmpty(krasPlate)

[Package twoddpcr version 1.11.0 Index]