npartbl: MERLIN 'npartbl' Object

Description Usage Arguments Details Value Examples

View source: R/npartbl.R

Description

Returns an S3 object of class npartbl which is basically a compact version of MERLIN's fam_nonparametric.tbl files.

Usage

1
npartbl(fname)

Arguments

fname

Character vector containing the nonparametric.tbl file name(s) output by MERLIN.

Details

MERLIN's --tabulate option is used to output convenient tables summarising linkage analysis results in two files per chromosome: chrA_parametric.tbl and chrA_nonparametric.tbl.

The nonparametric.tbl file will be output if MERLIN is run with at least one of the options --npl or --pairs. These compute a LOD score using the Kong and Cox linear model, which is found in the 'lod' column. The two options are designated in the 'analysis' column of the file by character strings containing 'ALL' and 'pairs', respectively.

If the --exp option is also specified, an additional LOD score is calculated using the Kong and Cox exponential mode. This is found in the 'exlod' column.

If the family consists of a single affected sibpair, the 'ALL' and 'pairs' statistics will be identical. The 'pairs' statistic also considers sharing within inbred individuals. For more information, see MERLIN's website: http://csg.sph.umich.edu/abecasis/merlin/index.html

Value

S3 object of class npartbl, which is a list with:

Examples

1
2
3
npartbl_chr9 <- npartbl("chr9-nonparametric.tbl")
npartbl_chr24 <- npartbl(c("chr2-parametric.tbl", "chr4-nonparametric.tbl"))
npartbl_all <- npartbl(list.files(path = "merlin/", pattern = "-nonparametric.tbl"))

bahlolab/linkrvis documentation built on June 4, 2017, 12:13 a.m.