Learn R Programming

strvalidator (version 0.3.0)

detectKit: Detect kit

Description

detectKit finds the most likely STR kit for a dataset.

Usage

detectKit(data, index = TRUE, debug = FALSE)

Arguments

data
data frame.
index
logical, returns kit index if TRUE or short name if FALSE.
debug
logical, prints debug information if TRUE.

Value

  • integer or string indicating the detected kit.

Details

The function looks at the markers in the dataset and returns the kit(s) with the highest proportions of matching markers.