Description Usage Arguments Details Value Author(s) References Examples

Compute relative genotypic frequencies for a given relative allelic frequency

1 | ```
hwe(raf)
``` |

`raf` |
Relative minor allele frequency for the B allele. |

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.

A vector of length three relative genotypic frequencies.

Kouros Owzar, Zhiguo Li, Nancy Cox, Sin-Ho Jung and Chanhee Yi

Kouros Owzar, Zhiguo Li, Nancy Cox and Sin-Ho Jung. Power and Sample Size Calculations for SNP Association Studies with Censored Time-to-Event Outcomes. http://onlinelibrary.wiley.com/doi/10.1002/gepi.21645/abstract

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.