get.critical.results.GxE: Summarizes the main results

View source: R/get.critical.results.GxE.R

get.critical.results.GxER Documentation

Summarizes the main results

Description

Gets the number of cases and controls or subjects and the empirical and theoretical power under each model and prints a summary on the screen

Usage

get.critical.results.GxE(
  scenario = NULL,
  pheno.model = NULL,
  geno.model = NULL,
  env.model = NULL,
  empirical.power = NULL
)

Arguments

scenario

Scenario number

pheno.model

Type of the outcome; 0 for binary and 2 for continuous

geno.model

Genetic model; 0 for binary and 1 for additive

env.model

Model of the enviromental explosure

empirical.power

Estimated empirical power

sample.sizes.required

Number of cases and controls or number of subjects required to achieve the desired power

Value

A table containing the following items: genetic.model Model of the genetic determinant environment.model Model of the environmental determinant number.of.subjects.required Number of subjects required to achieve the desired power under a quantitative outcome model empirical.power Estimated empirical power under each model

Author(s)

Gaye A.; Westerman K.


kwesterman/ESPRESSO.GxE.RV documentation built on Aug. 27, 2023, 4:44 a.m.