Last chance! 50% off unlimited learning
Sale ends in
moments(input)
adpcr
or
In case of
or
object
containing total number of positive molecules, a n-by-4 matrix, where n is
the number of experiments.
In case of
or
containing number of molecules per partition, a n*2-by-4 matrix, where n is
the number of experiments. In this case empirical moments are calculated
directly from a distribution of the data. Theoretical moments from a Poisson
distribution with $\lambda$ parameter taken from the data.
# moments for lambda = 2
moments(2)
# moments for 100 positive partitions of 765 total partitions
moments(c(100, 765))
# calculate moments for an array digital PCR, total number of positive partitions
ddpcr1 <- sim_ddpcr(m = 10, n = 40, times = 50, pos_sums = TRUE, n_exp = 5)
moments(ddpcr1)
# calculate moments for an array digital PCR, detailed number of molecules in each partition
ddpcr2 <- sim_ddpcr(m = 10, n = 40, times = 50, pos_sums = FALSE, n_exp = 5)
moments(ddpcr2)
Run the code above in your browser using DataLab