Learn R Programming

strvalidator (version 1.6.0)

calculateAllele: Calculate Allele

Description

Counts the number of each allele per marker over the entire dataset.

Usage

calculateAllele(data, threshold = NULL, debug = FALSE)

Arguments

data
data.frame including colums 'Marker', 'Allele', 'Height'.
threshold
numeric if not NULL only peak heights above 'threshold' will be considered.
debug
logical indicating printing debug information.

Value

  • data.frame

Details

Creates a sorted table of the most common alleles in the dataset. The list can be used to calculate allele frequencies or to identify artefacts. NB! Remove NA's and OL's prior to analysis.

See Also

data.table