All functions

MFMextra

MFMextra

T1modsmat.fn()

Generate model matrix of all possible models with maximum specified size

abf.fn()

Joint Approximate Bayes' factors (ABFs) for two case-control studies with shared controls

abfT1.fn()

Approximate Bayes' factors (ABFs) for one case-control study

abfcalc.format()

Approximate Bayes' factors (ABFs) for one case-control study

bf.compare.fn()

Joint Approximate Bayes' factors (ABFs) for two case-control studies with shared controls

bf.relations.fn()

Relationship between multinomial ABFs and logistic ABFs

convert.fn()

Convert genotype calls, as output from hapgen2, to a genotype score matrix

gen.fn()

Convert genotype calls at a SNP to genotype score

inv.logit.fn()

inverse logit function

phen.gen.fn()

Generate case-control data with shared controls for traits 1 and 2

phen.gen.t2null.fn()

Generate case-control data with shared controls for traits 1 and 2, where trait 2 has no associations in this region

snpG

Simulated genotype scores of 26 SNPs in the IL2RA gene for 100,000 individuals from the same population (CEU) ' ' This dataset was simulated using hapgen2 (http://mathgen.stats.ox.ac.uk/genetics_software/hapgen/hapgen2.html) and the 1000 Genomes CEU, version 3 reference panel data (ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/). Code details ' are provided in the MFMextra vignette. This data is an example of input to the MFMextra functions phen.gen.fn and phen.gen.t2null.fn, which simulate two diseases with a shared set of controls; phen.gen.t2null.fn simulates no associations with disease 2.