Description Usage Arguments Details Value References See Also Examples
Function minipool(...)
calculates the number of assays required, when
using mini-pooling, for
pools that are formed following the order that individual samples appear in the data.
1 | minipool(v, K = 5, vf_cut = 1000, lod = 0, msg = T)
|
v |
A vector of non-negative numerical assay results. |
K |
Pool size; default is |
vf_cut |
Cutoff value for defining positive cases;
default is |
lod |
A vector of lower limits of detection or a scalar if the limits are the
same; default is |
msg |
Message generated during calculation; default is |
Suppose that N samples are collected for pooled testing. The first
K
samples are combined to
form a pool, the next K
samples are combined to form the second
pool, and so on. If the number of samples for the last pool is less than
K
, these remaining samples are not used to form a pool (i.e.
not included in the calculation). Therefore, a total of
N%/%K
pools are formed. The function calculates the number of
assays needed for each of these pools. For mini-pooling, if a pool is
negative, no further tests are needed and all samples in the pool
are concluded as being negative; so the total number of
assays required is one. Otherwise if the pool is tested positive, all
individual samples in the pool are tested and the total number of assays
required is (K + 1)
.
A vectorof length N%/%K
for the numbers of assays needed for all pools
that are formed.
Dorfman R. The detection of defective members of large populations. The Annals of Mathematical Statistics. 1943;14(4):436-440.
mpa, mmpa, pooling_mc
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.