ddpcrWell-class: An S4 class for the classification of a single well in a...

Description Usage Arguments Value Slots Author(s) Examples

Description

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

The constructor for the ddpcrWell class.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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

1
2
3
4
5
6
7
8
## 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)

twoddpcr documentation built on Nov. 8, 2020, 5:49 p.m.