G2P: G2P

Description Usage Arguments Value

View source: R/G2P.R

Description

Genotype 2 Phenotype function. Taken from Lecture, using for simulation.

Usage

1
G2P(X, h2, alpha, NQTN, distribution)

Arguments

X

A Genotype Matrix (n x m)

h2

Heritability

alpha

affect of the qtns

NQTN

Number of QTNS to be simulated

distrubution

which distribution to use, only "norm" is available

Value

simulated phenotype list


JohnHadish/DJ.GLM.GWAS documentation built on April 5, 2020, 9:05 p.m.