additive.design: Create an additive genetic design matrix

Description Usage Arguments Value Examples

View source: R/TIMBR_source.R

Description

Returns the additive design matrix for the number of specified haplotypes, in the specified format.

Usage

1

Arguments

J

number of haplotypes

type

format of the diplotype matrix, currently supports "happy" and "qtl2"

Value

matrix of (half) haplotype dosages corresponding to each diplotype state

Examples

1
2
additive.design(8, "happy")
additive.design(8, "qtl2")

wesleycrouse/TIMBR documentation built on Feb. 19, 2021, 7:31 a.m.