View source: R/vartrack_prob_detect_xsect.R
vartrack_prob_detect_xsect | R Documentation |
This function calculates the probability of detecting the presence of a variant given a sample size and assuming a single, cross-sectional sample of detected infections.
vartrack_prob_detect_xsect(p_v1, n, omega, c_ratio = 1)
p_v1 |
variant prevalence (proportion) |
n |
sample size |
omega |
probability of sequencing (or other characterization) success |
c_ratio |
coefficient of detection ratio, calculated as the ratio of the coefficients of variant 1 to variant 2. Default = 1 (no bias) |
scalar of expected sample size
Shirlee Wohl, Elizabeth C. Lee, Bethany L. DiPrete, and Justin Lessler
Other variant detection functions:
vartrack_prob_detect_cont()
,
vartrack_prob_detect()
,
vartrack_samplesize_detect_cont()
,
vartrack_samplesize_detect_xsect()
,
vartrack_samplesize_detect()
Other variant tracking functions:
vartrack_cod_ratio()
,
vartrack_prob_detect_cont()
,
vartrack_prob_detect()
,
vartrack_prob_prev_xsect()
,
vartrack_prob_prev()
,
vartrack_samplesize_detect_cont()
,
vartrack_samplesize_detect_xsect()
,
vartrack_samplesize_detect()
,
vartrack_samplesize_prev_xsect()
,
vartrack_samplesize_prev()
vartrack_prob_detect_xsect(p_v1 = 0.02, n = 100, omega = 0.8, c_ratio = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.