Skip to main content
. Author manuscript; available in PMC: 2018 Sep 1.
Published in final edited form as: Genet Epidemiol. 2017 Jun 4;41(6):498–510. doi: 10.1002/gepi.22052

Algorithm 2.

Procedure with P-values of gene-level statistics computed via permutation

  1. For each study k, compute the gene-level statistics: same as Step I of Algorithm 1.

  2. Meta-analysis:

    1. Within study k, randomly permute Ykss M times, and calculate the permuted statistics (Ukgm,Vkgm)g=1G for 1 ≤ mM and 1 ≤ kK.

    2. For each study k, randomly choose one pair of permuted statistics from the M pairs obtained in Step 1, and denote the selected pair by (Ukg(1),Vkg(1))g=1G. In the RE model, calculate the corresponding Bg(1). Repeat this process N times to obtain [(Ukg(n),Vkg(n))k=1K]g=1G for the FE model or [(Ukg(n),Vkg(n))k=1K,Bg(n)]g=1G for the RE model, where n = 1, …, N. Note that we usually choose NM for computational efficiency, but require NMK to remove the effect of repeatedly using the same M permutations for each study (e.g., for K = 5, set M = 50, and N = 1000).

    3. Compute Qg for the original data and [Qg(n)]n=1N for the N sets of K permuted studies, based on the FE model or RE model.

    4. Estimate P-values of by the permutation for 1 ≤ gG: p(Qg)=n=1NT(QgQg(n)))/N.

  3. Set enrichment analysis: same as Step III of Algorithm 1.