Compute relative genotypic frequencies for a given
relative allelic frequency
Usage
hwe(raf)
Value
A vector of length three relative genotypic frequencies.
Arguments
raf
Relative minor allele frequency for the B allele.
Author
Kouros Owzar, Zhiguo Li, Nancy Cox, Sin-Ho Jung and Chanhee Yi
Details
For a bi-allelic SNP with genotypes AA, AB and
BB,
with a relative allele frequency \(q\) for the B allele,
this function returns the corresponding relative genotypic
frequencies.
It is not intended to be called directly by the user.
To conduct power calculations, use sim.snp.expsurv.power
or the convenience wrapper function survSNP.power.table.