partbl: MERLIN 'partbl' Object

Description Usage Arguments Details Value Examples

View source: R/partbl.R

Description

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

Usage

1
partbl(fname)

Arguments

fname

Character vector containing the parametric.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 parametric.tbl file will be output if MERLIN is run with the option --model genetic_model.txt. This uses the genetic model specified in the input file to calculate three statistics: a multipoint parametric LOD score ('lod' column), an estimate of the proportion of linked families at a given locus ('alpha' column), and the corresponding maximum heterogeneity LOD score ('hlod' column). For more information, see MERLIN's website: http://csg.sph.umich.edu/abecasis/merlin/index.html

Value

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

Examples

1
2
3
partbl_chr9 <- partbl("chr9-parametric.tbl")
partbl_chr24 <- partbl(c("chr2-parametric.tbl", "chr4-parametric.tbl"))
partbl_all <- partbl(list.files(path = "merlin/", pattern = "-parametric.tbl"))

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