Feature score from deviation contrasts (random-effects meta per condition)
Source:R/mashPipeline.R
calculateFeatureScores.RdFor each condition's deviation contrast, meta-analyzes the per-variant
absolute effect sizes (random-effects, via metafor::rma) and returns
the pooled Z-score (\(\hat\mu / \mathrm{se}\)). One score per condition –
the "meta" feature score of mash_posterior.ipynb.
Arguments
- contrastResult
A contrast table from
mashPosteriorContrast(variants x contrasts) carryingmean_contrast_*_deviationandse_contrast_*_deviationcolumns.- metaMethod
Between-study variance estimator forwarded to
metafor::rma(default"REML").