detectKit {strvalidator}R Documentation

Detect Kit

Description

Finds the most likely STR kit for a dataset.

Usage

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

Arguments

data

data frame with column 'Marker' or vector with marker names.

index

logical, returns kit index if TRUE or short name if FALSE.

debug

logical, prints debug information if TRUE.

Details

The function first check if there is a 'kit' attribute for the dataset. If there was a 'kit' attribute, and a match is found in getKit the corresponding kit or index is returned. If an attribute does not exist the function looks at the markers in the dataset and returns the most likely kit(s).

Value

integer or string indicating the detected kit.


[Package strvalidator version 2.4.1 Index]