Probability of transmissionFunctions to calculate the transmission probability in a sample |
|
---|---|
Calculate false discovery rate of identifying transmission pairs in a sample |
|
Calculate true discovery rate of identifying transmission pairs |
|
Calculate probability of transmission |
|
Calculate probability of transmission assuming multiple-transmission and multiple-linkage |
|
Calculate probability of transmission assuming multiple-transmission and single-linkage |
|
Calculate probability of transmission assuming single-transmission and single-linkage |
|
Observed transmission pairsFunctions to calculate the expected number of observed transmission pairs in a sample |
|
Calculate expected number of transmission links in a sample |
|
Calculate expected number of observed pairs assuming multiple-transmission and multiple-linkage |
|
Calculate expected number of observed pairs assuming multiple-transmission and single-linkage |
|
Calculate expected number of observed pairs assuming single-transmission and single-linkage |
|
True transmission pairsFunctions to calculate the expected number true transmission pairs in a sample |
|
Calculate expected number of true transmission pairs |
|
Calculate expected number of true transmission pairs assuming multiple-transmission and multiple-linkage |
|
Calculate expected number of true transmission pairs assuming multiple-transmission and single-linkage |
|
Calculate expected number of true transmission pairs assuming single-transmission and single-linkage |
|
Sample size calculations for transmission linkageFunctions to calculate the sample size needed to identify transmission pairs given a specified false discovery rate |
|
Calculate sample size needed to identify true transmission links |
|
Genetic distance as a linkage criteriaFunctions and data to calculate the sensitivity and specificity of genetic distance measures |
|
Calculate genetic distance distribution |
|
Make ROC curve from sensitivity and specificity |
|
Calculate sensitivity and specificity of a genetic distance cutoff |
|
Find optimal ROC threshold |
|
Simulations of the genetic distance distribution |
|
Calculate genetic distance distribution |
|
Estimating variant frequencyFunctions to esimtate the pathogen variant frequency in a population |
|
Calculate cumulative observed variant prevalence at time t given logistic growth |
|
Calculate multiplicative bias (observed / actual) in variant prevalence |
|
Calculate observed variant prevalence at time t given logistic growth |
|
Calculate observed variant prevalence |
|
The coefficient of detectionFunctions to calculate coefficient of detection ratio between two pathogen variants |
|
Calculate the coefficient of detection ratio for two variants |
|
Probability of variant detectionFunctions to estimate the probability of detecting a pathogen variant given a sample size |
|
Calculate the probability of detecting a variant given a sample size |
|
Calculate probability of detecting a variant given a per-timestep sample size assuming periodic sampling |
|
Calculate probability of detecting a variant assuming cross-sectional sampling |
|
Sample size for variant detectionFunctions to calculate the sample size needed to detect a pathogen variant |
|
Calculate sample size needed for variant detection given a desired probability of detection |
|
Calculate sample size needed for variant detection assuming periodic sampling |
|
Calculate sample size needed for variant detection assuming cross-sectional sampling |
|
Confidence in variant prevalence estimateFunctions to estimate the confidence in a variant prevalence estimate given a sample size |
|
Calculate confidence in a variant estimate given a sample size |
|
Calculate confidence in a variant estimate assuming cross-sectional sampling |
|
Sample size for variant prevalence estimationFunctions to calculate the sample size needed to estimate the prevalence of a variant in a population |
|
Calculate sample size needed for estimating variant prevalence given a desired confidence |
|
Calculate sample size needed for variant prevalence estimation under cross-sectional sampling |
|
Sample size for detecting differential transmissionFunctions to calculate the sample size needed to detect differential transmission between groups |
|
Calculate sample size needed to detect differential transmission |
|
Calculate simple derived sample size for detecting differential transmission |
|
Calculate sample size for detecting differential transmission with uncertainty bounds |
|
Calculate sample size for detecting differential transmission correcting for sensitivity and specificity |
|
Function to calculate the error in estimated sample size for use in optimize function |
|
Calculate optimized sample size for detecting differential transmission |
|
Calculate optimal sample size for detecting differential transmission with imperfect specificity |
|
Power for detecting differential transmissionFunctions to calculate the power given parameters used to detect differential transmission between groups |
|
Calculate power for detecting differential transmission given a sample size |
|
Simulate power for detecting differential transmission |