Learn R Programming

dpcR (version 0.5)

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)

Arguments

input

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

Value

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

Examples

Run this code
# NOT RUN {
#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