sim_powerDetectionPrevalence_logisticGrowth: Simple power calculation for detecting growth of variant with...

Description Usage Arguments

View source: R/power.R

Description

This does not account for possible confounders such as importation, changing Rt, outbreaks etc

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sim_powerDetectionPrevalence_logisticGrowth(
  selcoef = 0.25,
  nperday = 10,
  alpha = 0.05,
  Tg = 6.5,
  mindays = 31,
  maxdays = 240,
  init_freq = 1e-04,
  nreplicates = 5
)

Arguments

selcoef

selection coefficient (per generation)

nperday

samples per day within region

alpha

Signif threshold for detection

Tg

generation time (days)

mindays

min days to search for possible detection

maxdays

max days to search for possible detection

init_freq

Initial frequency of variant (impacts computation, will not usually need to change this)

nreplicates

Results averaged over this many replicates


emvolz-phylodynamics/variantAnalysis documentation built on Nov. 13, 2021, 7:16 p.m.