readDatfile: Read dat file in LINKAGE format
Description
Converts dat files in LINKAGE format to dat/map/freq files in MERLIN format
Usage
readDatfile(datfile, chrom, comment_string = "<
Value
If write_to
is NULL, a list of data.frames named dat
,
map
and freq
.
Arguments
- datfile
character. The path to the dat file.
- chrom
integer chromosome number (needed to create the MERLIN map).
- comment_string
character indicating comments (which are removed before
processing).
- write_to
a character prefix used for naming the output files, or NULL
if no files should be written.