Description Usage Arguments Details Value Author(s)

Estimates the expected Z Score for a single SNP

1 | ```
est_zscore(N0, N1, Ufactor, powerfactor, freq, GenoProbXW)
``` |

`N0` |
The number of Y=0 |

`N1` |
The number of Y=1 |

`Ufactor` |
The constant factor used to compute the expectation of U |

`powerfactor` |
The constant factor used to compute the expectation of the genotype of X to some power |

`freq` |
Frequencies of SNP appearances (computed using snphap) |

`GenoProbXW` |
An object giving the probability of seeing each X,W genotype vector |

Assumes the input CVs, and the relationship, gamma, between them and the trait of interest

Assumes we have already generated GenoProbXW for all X

The expected Z Score for SNP X, assuming the causal SNPs are W

Mary Fortune and Chris Wallace

mdfortune/simGWAS documentation built on April 4, 2018, 12:41 a.m.

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.