muvar: Means and variances under 1- and 2- locus (biallelic) QTL model
Description
Function muvar1() gives means and variances under 1-locus QTL model (simple), while muvar2() gives
means and variances under 2-locus QTL model -- it gives results from different avenues.
The results can be kept via R's sink() command or via modifying the C/R codes
Usage
muvar1(y1,p1)
or
muvar2(y12,p1,p2
Arguments
y1
the genotypic means of aa, Aa and AA
p1
the frequency of the lower allele, or the that for the first locus under a 2-locus model
y12
the genotypic means of aa, Aa and AA at the first locus and bb, Bb and BB at the second locus
p2
the frequency of the lower allele at the second locus
Value
It does not return any value except screent output.
References
Sham P (1998). Statistics in Human Genetics. Arnold