abf: abf

Description Usage Arguments Details Value Author(s)

View source: R/abf.R

Description

Calculate approximate Bayes factors from p values and MAF

Usage

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

Arguments

p

p value

maf

minor allele frequency

n0

number of controls

n1

number of cases

scale0

by default, =n0

scale1

by default, =n1

Details

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.

Value

ABF

Author(s)

Chris Wallace


chr1swallace/random-functions documentation built on Oct. 6, 2017, 11:50 a.m.