A convinient wrapper around
rbind tailored specially for binding multiple objects
containing results from digital PCR experiments.
an object of class
objects of class
In case of
cbind, but without recycling. In case on
unequal length, shorter objects will be filled in with additional
values. The original length is always preserved in
bind_dpcr automatically names binded experiments using format
x is number of object passed to function and
y is a number of experiment in a given object.
An object of class
dpcr, depending on the input.
binding together at the same time more than 500 objects can lead to
'stack overflow' error.
1 2 3 4 5 6 7 8
bigger_array <- sim_adpcr(400, 765, 1000, pos_sums = FALSE, n_panels = 5) smaller_array <- sim_adpcr(100, 700, 1000, pos_sums = FALSE, n_panels = 3) bound_arrays <- bind_dpcr(bigger_array, smaller_array) smaller_droplet <- sim_dpcr(m = 7, n = 20, times = 5, n_exp = 2) bigger_droplet <- sim_dpcr(m = 15, n = 25, times = 5, n_exp = 4) biggest_droplet <- sim_dpcr(m = 15, n = 35, times = 5, n_exp = 1) bound_droplets <- bind_dpcr(smaller_droplet, bigger_droplet, biggest_droplet)