HESAT: Heterogeneous-effects (HE) meta-analysis of variant-set...

Description Usage Arguments Value References Examples

Description

Conduct meta-analysis of variant-set association test of m variants assuming heterogeous effects across K studies. HE VT: ∑_k U_k^TU_k; FE BT: (∑_kη_k^TU_k)^2; HAT: adaptively combine HE VT and FE BT.

Usage

1
HESAT(Us, Vs, eta = NULL, rho = (0:10/10)^2)

Arguments

Us

matrix of variant test statistics (m, K)

Vs

array of covariance matrix for test statistics (m, m, K)

eta

coefficient vector for the FE BT. Default to equal weights.

rho

weights assigned to the FE BT

Value

p.value

p-values for HAT, HE VT, FE BT

pval

vector of p-values for each rho

rho.est

optimal rho value leading to the minimum p-value

References

Wu,B. and Zhao,H. (2018) Efficient and powerful meta-analysis of variant-set association tests using MetaSAT.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
K = 3; m=10
Vs = array(0, dim=c(m,m,K)); Us = matrix(0, m,K)
for(k in 1:K){
  ak = matrix(rnorm(100*m),100,m)*sqrt(0.8)+rnorm(100)*sqrt(0.2)
  Vs[,,k] = cor(ak)
  Rh = chol(Vs[,,k])
  Us[,k] = colSums(Rh*rnorm(m))
}
HESAT(Us,Vs)
U1 = Us + rnorm(m*K)
HESAT(U1,Vs)

baolinwu/MetaSAT documentation built on May 13, 2019, 5:22 p.m.