strataG (version 2.4.905)

readGenData: Read Genetic Data

Description

A wrapper for fread that sets common values for missing data and removes blank lines.

Usage

readGenData(file, na.strings = c(NA, "NA", "", " ", "?", "."), ...)

Arguments

file

filename of .csv file.

na.strings

see fread.

...

other arguments passed to fread.

Value

a data.frame.