convertChisq2Beta: convert chisq statistic to beta for binary trait assuming the...

Description Usage Arguments

View source: R/rareGWAMA.single.R

Description

convert chisq statistic to beta for binary trait assuming the variance for y;

Usage

1
convertChisq2Beta(statistic, beta.ori, var.y, af, N, binaryTrait = FALSE)

Arguments

statistic

chisq stat;

beta.ori

original beta; for getting the sign;

var.y

the variance for Y. for binary trait, the variance of y is frac.case*(1-frac.case); for continuous trait, the variance for y is typically set to 1;

af

allele freq;

N

sample size;


dajiangliu/rareGWAMA documentation built on Sept. 13, 2019, 9:14 a.m.