Learn R Programming

dpcR (version 0.6)

binarize: Binarize digital PCR data

Description

Transforms multinomial (number of molecules per partition) or continuous (fluorescence) digital PCR data to binary (positive/negative partition) format.

Usage

binarize(input)

Value

object of the class adpcr or dpcr (depending on input) with type "np".

Arguments

input

object of the class adpcr or dpcr with one of following types:"ct", "fluo" or "nm".

Author

Michal Burdukiewicz.

Examples

Run this code

#adpcr object
rand_array <- sim_adpcr(200, 300, 100, pos_sums = FALSE, n_panels = 1)
binarize(rand_array)

#dpcr object
rand_droplets <- sim_dpcr(200, 300, 100, pos_sums = FALSE, n_exp = 1)
binarize(rand_droplets)

Run the code above in your browser using DataLab