Description Usage Arguments Details Value Author(s)

Wrapper function to run est_zscore for all snps in snps

1 | ```
est_statistic(N0, N1, snps, W, gamma.W, freq, GenoProbList)
``` |

`N0` |
The number of Y=0 |

`N1` |
The number of Y=1 |

`snps` |
The snps at which we wish to compute the expected Z Score |

`W` |
The true causal SNPs (these need not be in "snps") |

`gamma.W` |
The odds ratios of effect of the true causal SNPs (not including gamma0, the intercept term) |

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

`GenoProbList` |
An list of objects giving the probability of seeing each X,W genotype vector |

Assumes we have a list, GenoProbList, giving the GenoProb values for each X.

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

Mary Fortune and Chris Wallace

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.