read_merlin_npartbl: Read MERLIN 'nonparametric.tbl'

Description Usage Arguments Details Value Examples

Description

Read the nonparametric.tbl file output by MERLIN

Usage

1
read_merlin_npartbl(fname, verbose = TRUE)

Arguments

fname

The file name to read.

verbose

Display warning message for chr23.

Details

The fam_nonparametric.tbl file contains two rows at the beginning of each 'all' and/or 'pairs' subtable, which indicate the maximum possible scores for the specific dataset. These rows are ignored by using the comment.char = "n" option in read.table, which works since only these rows contain an 'n' character. This is a bit hacky, but it should always work.

Value

A data.frame with the columns chr, pos, analysis, lod and exlod.

Examples

1
read_merlin_npartbl("merlin_13_famA-nonparametric.tbl")

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