adpcr2panel {dpcR} | R Documentation |
Convert adpcr object to array
Description
Converts adpcr
object into the list of array-like matrices.
Usage
adpcr2panel(input, breaks = FALSE)
Arguments
input |
object of the |
breaks |
if |
Value
A named list of length equal to the number of arrays in the input
.
Each element is a single array in matrix-like form, where dimensions are set
exactly as in case of the real plate. Names of the list corresponds to the names
of assays ("tnp"
data) or runs (any other type of adpcr
data).
The matrices contain values from array, either integers (when use_break
is
FALSE
) or characters (when use_break
is TRUE
).
Author(s)
Michal Burdukiewicz.
Examples
#generate data
ttest <- sim_adpcr(m = 400, n = 765, times = 20, pos_sums = FALSE,
n_panels = 3)
#convert object into three arrays
arrays <- adpcr2panel(ttest)
length(arrays)
#print an array
arrays[[1]]
[Package dpcR version 0.6 Index]