Reads a stutter exceptions file with overrides for expected stutter ratios
read_stutter_exceptions.Rd
Reads a stutter exceptions file with overrides for expected stutter ratios
Value
A named list with the stutter exceptions by locus. For each loucs, the exceptions are given as a named numeric with the names corresponding to the parent alleles and the expected stutter rates given as the values.
Details
Reads the file from disk and returns a named numeric vector with stutter ratio exceptions for a given locus and allele.
Examples
filename <- system.file("extdata","GlobalFiler_Stutter_Exceptions_3500.csv",
package = "simDNAmixtures")
exceptions <- read_stutter_exceptions(filename)
exceptions$TH01["9.3"]
#> 9.3
#> 0.01375