Description Usage Arguments Details Value Author(s)

Calculate approximate Bayes factors from p values and MAF

1 | ```
abf(p, maf, n0 = 9500, n1 = 6670, scale0 = n0, scale1 = n1)
``` |

`p` |
p value |

`maf` |
minor allele frequency |

`n0` |
number of controls |

`n1` |
number of cases |

`scale0` |
by default, =n0 |

`scale1` |
by default, =n1 |

this is a function to calculate approximate Bayes factors from p values and MAF - for reference see Wakefield, J (2009) Bayes factors for genome-wide association studies: comparison with p-values. Genetic Epidemiology 33: 79<e2><80><93>86.

ABF

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.