Pooling estimates reported in meta-analyses (literature-based, LB) and estimates based on individual participant data (IPD) is not straight-forward as the details of the LB nonlinear function estimate are not usually reported. This package pools the nonlinear IPD dose-response estimates based on a natural cubic spline from lm or glm with the pointwise LB estimates and their estimated variances. Details will be presented in Härkänen, Tapanainen, Sares-Jäske, Männistö, Kaartinen and Paalanen (2026) "Novel pooling method for nonlinear cohort analysis and meta-analysis estimates: Predicting health outcomes based on climate-friendly diets" Epidemiology <doi:10.1097/EDE.0000000000001932>.

Performs Bayesian meta-analysis, meta-regression and model-based meta-analysis 
             using 'Stan'. Includes binomial-normal hierarchical models and option to use 
             weakly informative priors for the heterogeneity parameter and the treatment effect 
             parameter which are described in Guenhan, Roever, and Friede (2020) <doi:10.1002/jrsm.1370>.

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>.

To assess a summary survival curve from survival probabilities and number of at-risk patients collected at various points in time in various studies, and to test the between-strata heterogeneity.