Learn R Programming

dpcR (version 0.3)

dpcr-class: Class "dpcr" - general digital PCR

Description

A class containing results of any digital PCR experiment. Type of data in all columns is specified in slot "type".

Arguments

Slots

.Data
matrix data from digital PCR experiments. See Details.
n
integer equal to the number of partitions in each run.
exper
factor the id or name of experiments.
replicate
factor the id or name of replicate.
assay
factor the id or name of the assay.
type
Object of class "character" defining type of data. See Details.

Details

Possible type values of dpcr objects:
  1. "ct": cycle threshold of each partition,
  2. "fluo": fluorescence of each partition,
  3. "nm": number of molecules in each partition,
  4. "np": status (positive (1) or negative(0)) of each partition,
  5. "tnp": total number of positive partitions in the run (single value per each run, not per partition).

Digital PCR data is always a matrix, where columns and rows represent respectively runs and data points. For example, matrix with 2 columns and 765 rows means two runs with 765 data points each. In case of "tnp" data, each run is represented by only one measurement, the count of all positive partitions.

The number of partitions is defined in slot n. In the previous example, two runs have 765 data points, but they can have less detected partitions (for example some reads may be not available). In this case, the data point will have value NA.

The structure of dpcr class is described more deeply in the vignette.