calculateOL: Analyze Off-ladder Alleles

View source: R/calculateOL.r

calculateOLR Documentation

Analyze Off-ladder Alleles

Description

Analyze the risk for off-ladder alleles.

Usage

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

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.

Value

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


OskarHansson/strvalidator documentation built on July 22, 2023, 12:04 p.m.