rtrios: Generate simulated popoulation of case- and control-trios

Description Usage Arguments Value Author(s) See Also Examples

Description

Using penetrance factors, ratio of maternal- to paternal-induced disease risk for a heterozygous child, tranmission ratio of minor allele from mother and father to offspring, and minor allele frequency (MAF) to generate a simulated population of case- and/or control-trios dataset with first column as disease status (1=case, 0=control), the second, third and forth columns as maternal, paternal and child genotypes. The fifth column as the parent-of-origin indicator of disease allele in a heterozygous child (a value of 1 indicates the mother transmitted the disease allele and 0 indicates the father transmitted). The parent-of-origin indicator is only meaningful for a heterozygous child. Minor allele normally refers to the disease allele, which has lower frequency than the alternative allele(s).

Usage

1
rtrios(n, ssize, f0, f1, f2, g, tmother, tfather, maf)

Arguments

n

simulated population size

ssize

sample size

f0

penetrance for individuals with genotype 0 (additive model)

f1

penetrance for individuals with genotype 1 (additive model)

f2

penetrance for individuals with genotype 2 (additive model)

g

Ratio of maternal- over paternal-induced disease risk

tmother

transmission ratio of minor allele from mother to child

tfather

transmission ratio of minor allele from father to child

maf

minor allele frequency

Value

case

case-trios data with parent-of-origin indicator

ctrl

control-trios data with parent-of-origin indicator

Author(s)

Lam Opal Huang

See Also

find.maf find.t gcount ll prev strata.cnt tdt

Examples

1
trios=rtrios(100000,500,0.1,0.2,0.3,1,0.5,0.5,0.1)

TRD documentation built on May 2, 2019, 5:12 a.m.