binarize {dpcR} | R Documentation |
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 |
Value
object of the class adpcr
or
dpcr
(depending on input
) with type "np"
.
Author(s)
Michal Burdukiewicz.
Examples
#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)
[Package dpcR version 0.6 Index]