Learn R Programming

strvalidator (version 2.4.1)

calculateOL: Analyze Off-ladder Alleles

Description

Analyze the risk for off-ladder alleles.

Usage

calculateOL(kit, db, virtual = TRUE, limit = TRUE, debug = FALSE)

Value

data.frame with columns 'Kit', 'Marker', 'Database', 'Risk', and 'Total'.

Arguments

kit

data.frame, providing kit information.

db

data.frame, allele frequency database.

virtual

logical default is TRUE, calculation includes virtual alleles.

limit

logical default is TRUE, limit small frequencies to 5/2N.

debug

logical indicating printing debug information.

Details

By analyzing the allelic ladders the risk for getting off-ladder (OL) alleles are calculated. The frequencies from a provided population database is used to calculate the risk per marker and in total for the given kit(s). Virtual alleles can be excluded from the calculation. Small frequencies can be limited to the estimate 5/2N.