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

Description Usage Arguments Value Author(s)

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

1
2
3
get.critical.results.LD(scenario = NULL, pheno.model = NULL,
  geno1.model = NULL, geno2.model = NULL, sample.sizes.required = NULL,
  power = NULL, mean.beta = NULL, LDmeasures = NULL)

Arguments

scenario

Scenario number

pheno.model

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

geno1.model

Genetic model of the 1st SNP; 0 for binary and 1 for additive

geno2.model

Genetic model of the 1st SNP; 0 for binary and 1 for additive

sample.sizes.required

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

power

Estimated empirical power and theoretical (modelled) power

mean.beta

Mean beta value of each of the determinants

LDmeasures

the empirical Pearson r correlation coefficient and Lewontin's D and D'

Value

A table containing the following items: gene1.model Model of the first genetic determinant gene2.model Model of the second genetic determinant number.of.cases.required1 Number of cases required to achieve the desired power for the first SNP number.of.controls.required1 Number of controls required to achieve the desired power for the first SNP number.of.subjects.required1 Number of subjects required to achieve the desired power for the first SNP empirical.power1 Estimated empirical powe for the first SNP modelled.power1 Power achieved under each model with specified sample size for the first SNP estimated.OR1 Estimated odds-ratios due to shrinkage toward the null resulting from misclassification for the first SNP estimated.effect1 Estitmated effect size if the outocme is continuous for the first SNP number.of.cases.required2 Number of cases required to achieve the desired power for the second SNP number.of.controls.required2 Number of controls required to achieve the desired power for the second SNP number.of.subjects.required2 Number of subjects required to achieve the desired power for the second SNP empirical.power2 Estimated empirical powe for the second SNP modelled.power2 Power achieved under each model with specified sample size for the second SNP estimated.OR2 Estimated odds-ratios due to shrinkage toward the null resulting from misclassification for the second SNP estimated.effect2 Estitmated effect size if the outocme is continuous for the second SNP

Author(s)

Gaye A.


agaye/ESPRESSO.LD documentation built on May 10, 2019, 7:31 a.m.