se_null: This function computes standard error under the null...

Description Usage Arguments Value

View source: R/cupfunc.R

Description

This function computes standard error under the null se_null analytically compute standard error of β under \mathbb{E}(β) = 0 √{\frac{1}{2fN_0} + \frac{1}{2N_{0}(1-f)} + \frac{1}{2fN_1} + \frac{1}{2N_{1}(1-f)} }

Usage

1
se_null(N, n1, f)

Arguments

N

a vector or scalar of total number od samples

n1

a vector or scalar of number of case samples

f

a vector of reference allele frequencies

Value

a numeric vector


ollyburren/cupcake documentation built on July 30, 2020, 9:58 a.m.