create_search_data: Load Data and Group Into Individuals

View source: R/import_data.R

create_search_dataR Documentation

Load Data and Group Into Individuals

Description

TODO: Keep the multimatch data

Usage

create_search_data(data, am_data, allele_mismatch)

Arguments

data

A dateframe with index, all meta-data and locus

am_data

An allelematch dataset, converted from the data containing the index and locus

allele_mismatch

A value for how many allele mismatchs are to be allowed and still count like a match

Value

A list with the search_data, which is a list with $index, $multilocus, and $individ_id, a list with the $index of the samples that matched multiple individuals, and a list with the $index and $multilocus of the samples were unclassified.

Examples

## Not run: 
search_data <- create_search_data("data.csv")

## End(Not run)

CGI-NRM/GenotypeCheck documentation built on May 23, 2024, 3:21 p.m.