create_allelematch_dataset: Convert The Data to a Allelematch Dataset

View source: R/import_data.R

create_allelematch_datasetR Documentation

Convert The Data to a Allelematch Dataset

Description

To be rewritten to take a table with only index and locus data, split in the import_data function. Now ignores the irrelevant data for this step, can be connected by their index later. A wrapper for the amDataset function.

Usage

create_allelematch_dataset(data, ignore_columns)

Arguments

data

The relevant data that has been imported

ignore_columns

A vector with the names or indexes to the columns that are to be ignored by the 'allelematch' packet. These are the date, nord, east, gender and preset individual, in that order. TODO: Remove the preset individual, it should be used earlier.

Value

A allelematch dataset with the relevant index and locus column

Examples

## Not run: 
am_data <- create_allelematch_dataset(data)

## End(Not run)

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