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

Description Details Slots Note Author(s) Examples


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


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.



matrix data from digital PCR experiments. See Details.


integer equal to the number of partitions in each run.


factor the id or name of experiments.


factor the id or name of replicates.


factor the id or name of the assay.


"numeric" volume of the partition [nL].


"numeric" uncertainty of the volume of the partition [nL].


"numeric" value specifying the threshold. Partition with the value equal or bigger than threshold are considered positive.


Object of class "character" defining type of data. See Details.


This class represent the most general droplet-based digital PCR. In more specific cases, the user is directed to other classes: adpcr, where results can be placed over a plate, qdpcr where digital assay is based on multiple qPCR experiments and rtadpcr, where data points represent the status of partitions measured in the real time.


Michal Burdukiewicz.


dpcr_fluo <- sim_dpcr(m = 10, n = 20, times = 5, fluo = list(0.1, 0))

dpcr <- sim_dpcr(m = 10, n = 20, times = 5)

Search within the dpcR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.