Learn R Programming

waffect (version 1.2)

A package to simulate constrained phenotypes under a disease model H1

Description

waffect (pronounced 'double-u affect' for 'weighted affectation') is a package to simulate phenotypic (case or control) datasets under a disease model H1 such that the total number of cases is constant across all the simulations (the constrain in the title). The package also makes it possible to generate phenotypes in the case of more than two classes, so that the number of phenotypes belonging to each class is constant across all the simulations. waffect is used to assess empirically the statistical power of Genome Wide Association studies.

Copy Link

Version

Install

install.packages('waffect')

Monthly Downloads

7

Version

1.2

License

GPL (>= 3)

Maintainer

G Nuel

Last Published

April 11th, 2012

Functions in waffect (1.2)

p2_H1

Signal of association of the statistic S2 under H1
waffect

Simulation of phenotypes in the binary (case/control) and multiclass cases.
p1_H1

Signal of association of the statistic S1 under H1
p2_H0

Signal of association of the statistic S2 under H0
ped

Genotypic dataset in PED format
map

SNP description in MAP format
p1_H0

Signal of association of the statistic S1 under H0
waffect-package

A package to simulate constrained phenotypes under a disease model H1
waffectbin

Low level function for simulating binary phenotypes.