expected_z_score: Compute expected Z Score

Usage Arguments Value Author(s)

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 log 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, 2019, 3:25 p.m.