ddpcrWell-class {twoddpcr} | R Documentation

## An S4 class for the classification of a single well in a ddPCR experiment.

### Description

An S4 class for the classification of a single well in a ddPCR experiment.

The constructor for the `ddpcrWell` class.

### Usage

    ddpcrWell(well)

    ## S4 method for signature 'data.frame'
    ddpcrWell(well)

    ## S4 method for signature 'character'
    ddpcrWell(well)

    ## S4 method for signature 'missing'
    ddpcrWell(well)

    ## S4 method for signature 'ddpcrWell'
    ddpcrWell(well)

    ## S4 method for signature 'ddpcrWell'
    show(object)

### Arguments

`well` | A well with columns `Ch1.Amplitude` and `Ch2.Amplitude` and optional classification columns. This can be in the form of a data frame or the path to a droplet amplitude CSV file.
`object` | Any R object

### Value

A `ddpcrWell` object with the given droplets in the well.

### Slots

`dropletAmplitudes`

  A data frame with columns `Ch1.Amplitude` and `Ch2.Amplitude` corresponding to all the droplets in the ddPCR well.

`classification`

  A vector of factors, where the levels are given by `ddpcr$classesRain`.

### Author(s)

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

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

### Examples

    ## A \code{ddpcrWell} object can be created from data from a list of data
    ## frames.
    ddpcrWell(KRASdata[[1]])

    ## An CSV file of droplet amplitudes can also be loaded.
    ampFile <- system.file("extdata/amplitudes/sample_B03_Amplitude.csv",
                           package="twoddpcr")
    ddpcrWell(ampFile)

[Package twoddpcr version 1.18.0 Index]