read_merlin_dat: Read MERLIN 'fam.dat'

Description Usage Arguments Details Value Examples

Description

Read the fam.dat file generated by LDG for MERLIN

Usage

1

Arguments

fname

The file name to read.

Details

The fam.dat file contains two columns: symbol and description. This file is required to describe the final M + 1 columns in the fam.ped file, where M is the number of markers used in the analysis and the last column is the affectedness status (the first five columns are always the same - FamID, IndID, PatID, MatID and Gender). Therefore the fam.dat file will contain M + 1 rows.

Value

A data.frame with two columns (symbol and description) and M + 1 rows, where M is the number of markers used in the analysis and the last row describes the phenotype of interest.

Examples

1
read_merlin_dat("merlin_13_famA.dat")

bahlolab/linkrvis documentation built on May 11, 2019, 5:25 p.m.