run.BMA.2DF: BMA function for 2-degree-of-freedom Test

Description Usage Arguments Value

Description

BMA function for 2-degree-of-freedom Test

Usage

1
2
run.BMA.2DF(Y = NULL, E = NULL, G = NULL, Covar = NULL, cc = 0.05,
  co = 0.05, phi = 1, psi = 1000, formul = NULL)

Arguments

Y

input A vector of binary outcomes/phenotypes. Defaults to NULL.

E

input A vector of binary exposure status. Defaults to NULL.

G

input A vector of binary genotype. Defaults to NULL.

Covar

of all covariate variables. Defaults to NULL.

cc

input A number. Defaults to 0.5.

co

input A number. Defaults to 0.5.

phi

input A number. Defaults to 1.

psi

input A number. Defaults to 1000.

formul

input A string in the form: "Count~E+G+E:G+Y+E:Y+G:Y+E:G:Y+... . Defaults to NULL.

Value

The p-value for a BMA joint test of marginal and interaction effect.


LilithMoss/bma.gxe documentation built on May 28, 2019, 1:32 p.m.