Description Usage Arguments Details Value References See Also Examples

View source: R/pooling-basic-funs.R

Function `mpa(...)`

calculates the number of assays required, when using MPA, for
pools that are formed following the order of individual samples in the data.

1 | ```
mpa(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 |

For a given sample v_i, i = 1, ..., N, the first `K`

samples v_1,
..., v_5 are combined to form a pool, the next `K`

samples v_6, ...,
v_10 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. See May et al (2010).

A vectorof length `N%/%K`

for the numbers of assays needed for all pools
that are formed.

May, S., Gamst, A., Haubrich, R., Benson, C., & Smith, D. M. (2010). Pooled nucleic acid testing to identify antiretroviral treatment failure during HIV infection. Journal of acquired immune deficiency syndromes (1999), 53(2), 194.

Liu T, Hogan JW, Daniels, MJ, Coetzer M, Xu Y, Bove G, et al. Improved HIV-1 Viral Load Monitoring Capacity Using Pooled Testing with Marker-Assisted Deconvolution. Journal of AIDS. 2017;75(5): 580-587.

minipool, mmpa, pooling_mc

1 2 3 4 5 6 7 8 9 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.