dom.fun.t {genpwr}R Documentation

Function to Calculate t matrix for logistic outcome with binary environment interaction in dominant model

Description

Calculates the t matrix for logistic outcome with binary environment interaction in dominant model

Usage

dom.fun.t(MAF, P_e, OR_E, OR_G, OR_GE, Case.Rate)

Arguments

MAF

Vector of minor allele frequencies

P_e

Vector of proportions of the population with exposure to the environmental effect

OR_E

Vector of environmental odds ratios to detect

OR_G

Vector of genetic odds ratios to detect

OR_GE

Vector of genetic/environmental interaction odds ratios to detect

Case.Rate

proportion of cases in the sample (cases/(cases + controls)).

Value

t matrix for all combinations of environment/outcome

Examples

dom.fun.t(MAF = 0.1, P_e = 0.2, Case.Rate = 0.5,
	OR_G = 1.5, OR_E = 2, OR_GE = 1.8)


[Package genpwr version 1.0.4 Index]