Var.data.cc: helper function to compute shrinkage factor for a...

Description Usage Arguments Value

View source: R/sCVPP.R

Description

helper function to compute shrinkage factor for a case/control trait

Usage

1
Var.data.cc(f, N, s)

Arguments

f

a vector of length $i$ of minor allele frequencies in controls matching the order of p

N

a scalar or vector (of length $i$) of the total number of samples included in association test

s

a scalar or vector (of length $i$) of the proportion of cases for each test.

Value

a vector of shrinkage factors


ollyburren/rCOGS documentation built on Aug. 5, 2020, 2:13 p.m.