Finds the most likely STR kit for a dataset.
detectKit(data, index = FALSE, debug = FALSE)
integer or string indicating the detected kit.
data frame with column 'Marker' or vector with marker names.
logical, returns kit index if TRUE or short name if FALSE.
logical, prints debug information if TRUE.
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).