Skip to main content
. Author manuscript; available in PMC: 2021 Jul 31.
Published in final edited form as: Stat Med. 2021 Mar 25;40(12):2859–2876. doi: 10.1002/sim.8940

Algorithm 3.

aMeta

Inputs: The estimated marker-specific p-value (Pj) and the permuted (null) pooled effects (μ^j,01,...,μ^j,0R) obtained based on the single-marker meta-analysis (Algorithm 1) for each marker (j = 1, …, Q).
Outputs: The p-value for aMeta.
 1. Compute the null values of Pj (denoted as Pjr) as Pjr = [r'rIμ^A0,r'>μ^A0,r+1]/(R+1), where r = 1, …, R and r' = 1, …, R, for each marker (j = 1, …, Q).
 2. Compute the null statistic values of TaMeta (denoted as TaMetar) as TaMetar=minj{1,,Q}Pjr, for r = 1, …, R (Eq. 7).
 3. Compute the observed statistic value (denoted as TaMeta) as TaMeta=minj{1,,Q}Pj (Eq. 7).
 4. Compute the p-value for aMeta as [r=1RI(TaMetar<TaMeta)+1]/(R+1), where I(·) is an indicator function.