Description Usage Arguments Details Value Author(s)

View source: R/compute_gamma0.R

Compute the value of gamma_0 from gamma1,...,gamma_m

1 | ```
compute_gamma0_PW(N0, N1, W, gamma.CV, PWgY0)
``` |

`N0` |
number of samples with Y=0 |

`N1` |
number of samples with Y=1 |

`W` |
The causal SNPs |

`gamma.CV` |
The log odds ratios of effect for each CV |

`PWgY0` |
the distribution of causal snps in controls |

Note: assume we know the distibution of W in the controls

The value of gamma0

Mary Fortune

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.