expected_z_score: Compute expected Z Score

Usage Arguments Value Author(s)

View source: R/simGWAS.R

Usage

1
expected_z_score(N0, N1, snps, W, gamma.CV, freq)

Arguments

N0

The number of Y=0

N1

The number of Y=1

snps

The snps at which we wish to compute the expected Z Score

W

The true causal SNPs (these need not be in "snps")

gamma.CV

The odds ratios of effect of the true causal SNPs

freq

Frequencies of SNP appearances (computed using snphap)

Value

The expected Z Score for all snps in snps, assuming the causal SNPs are W

Author(s)

Mary Fortune


mdfortune/simGWAS documentation built on May 22, 2017, 2:11 a.m.