Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sdY.est

Estimate trait variance, internal function


Description

Estimate trait standard deviation given vectors of variance of coefficients, MAF and sample size

Usage

sdY.est(vbeta, maf, n)

Arguments

vbeta

vector of variance of coefficients

maf

vector of MAF (same length as vbeta)

n

sample size

Details

Estimate is based on var(beta-hat) = var(Y) / (n * var(X)) var(X) = 2*maf*(1-maf) so we can estimate var(Y) by regressing n*var(X) against 1/var(beta)

Value

estimated standard deviation of Y

Author(s)

Chris Wallace


coloc

Colocalisation Tests of Two Genetic Traits

v3.2-1
GPL
Authors
Chris Wallace [aut, cre], Claudia Giambartolomei [aut], Vincent Plagnol [ctb]
Initial release
2019-05-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.