Description: If results from a meta-GWAS are used for validation in one of the cohorts that was included in the meta-analysis, this will yield biased (i.e. too optimistic) results.
The validation cohort needs to be independent from the meta-Genome-Wide-Association-Study (meta-GWAS) results.
'MetaSubtract' will subtract the results of the respective cohort from the meta-GWAS results analytically without having to redo the meta-GWAS analysis using the leave-one-out methodology.
It can handle different meta-analyses methods and takes into account if single or double genomic control correction was applied to the original meta-analysis.
It can also handle different meta-analysis methods. It can be used for whole GWAS, but also for a limited set of genetic markers.
See for application: Nolte I.M. et al. (2017); <doi: 10.1038/ejhg.2017.50>.

Title: Utility Functions for Conducting and Reporting Meta-Analysis
Description: Contains functions to estimate the proportion of effects stronger than a threshold
of scientific importance (per Mathur & VanderWeele, 2018 [<https://onlinelibrary.wiley.com/doi/full/10.1002/sim.8057>]),
to make various effect size conversions, and to compute and format inference in a meta-analysis.

to make various effect size conversions, to compute and format inference in a meta-analysis, and to scrape results from

Title: Utility Functions for Conducting and Interpreting Meta-Analyses
Author: Maya B. Mathur, Rui Wang, Tyler J. VanderWeele
of scientific importance (function prop_stronger), to nonparametrically characterize the distribution of effects in a meta-analysis (calib_ests, pct_pval),
to make effect size conversions (r_to_d, r_to_z, z_to_r), to compute and format inference in a meta-analysis (format_CI, format_stat, tau_CI), to scrape results from
existing meta-analyses for re-analysis (scrape_meta, parse_CI_string).
Imports: metafor, stats, stringr, purrr, dplyr

to make effect size conversions (r_to_d, r_to_z, z_to_r, d_to_logRR), to compute and format inference in a meta-analysis (format_CI, format_stat, tau_CI), to scrape results from
Imports: metafor, stats, stringr, purrr, dplyr, tidyr, rlang