readDatfile: Read dat file in LINKAGE format

View source: R/readDatfile.R

readDatfileR Documentation

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 = "<<", write_to = NULL)

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.

Value

If write_to is NULL, a list of data.frames named dat, map and freq.

Examples


# No example given.


paramlink documentation built on April 15, 2022, 9:06 a.m.