compute_gamma0: Compute gamma0, given haplotype frequencies

Description Usage Arguments Details Value Author(s)

View source: R/compute_gamma0.R

Description

Compute the value of gamma_0 from gamma1,...,gamma_m

Usage

1
compute_gamma0(N0, N1, W, gamma.W, freq)

Arguments

N0

number of samples with Y=0

N1

number of samples with Y=1

W

The causal SNPs

gamma.W

The odds ratios of effect for each CV

freq

Frequencies of SNP appearances (computed using snphap)

Details

Note: assume we must compute the distibution of W in the controls

Value

The value of gamma0

Author(s)

Mary Fortune


simGWAS documentation built on Aug. 22, 2019, 9:03 a.m.