import_data: Import and format data

View source: R/import_data.R

import_dataR Documentation

Import and format data

Description

To be replaced by the user chosing the relevant columns

Usage

import_data(file, index_column, additional_data, locus_names)

Arguments

file

The path to the file to be imported

index_column

The name or index of the column containing the indexes

additional_data

A vector with the names or indexes to the columns that contain the date, north, east, gender, and any preset id:s in that order.

locus_names

A vector with the name or indexes to the columns that contain the genotypes

Value

A table with the relevant columns from the file

Examples

## Not run: 
data <- import_data("raw_data.csv")

## End(Not run)

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