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

Description Usage Arguments Value

Description

BMA function for 1-degree-of-freedom Test

Usage

1
2
run.BMA.1DF(Y, E, G, 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

Vector containing BMA interaction effect estimate, standard error, Z-score, and p-value.


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