nTransCutoff: create levels at which number of transmissions passes the...

Description Usage Arguments Value

View source: R/Model.R

Description

create levels at which number of transmissions passes the threshold

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
nTransCutoff(
  N,
  t1,
  t2,
  lambda,
  beta,
  perc_cutoff,
  maxN = 25,
  maxK = 25,
  pSpatial = 1
)

Arguments

N

SNP distance

t1

date of first sample

t2

date of second sample

lambda

clock rate

beta

transmission rate

perc_cutoff

cut-off percentage

maxN

for optimisation, SNP distance greater than this considered not in same cluster

Value

number of transmissions reached


JamesStimson/transcluster documentation built on May 24, 2020, 10:39 p.m.