rma_wrapper: Wrapper for fitting fixed/random effects meta-analysis model...

Description Usage Arguments Value

View source: R/helpers_lm_meta.R

Description

Wrapper for fitting fixed/random effects meta-analysis model using metafor

Usage

1
2
3
rma_wrapper(maaslin_fits, method = "REML", output = tempdir(),
  forest_plot = NULL, rma_conv = 1e-06, rma_maxit = 1000,
  verbose = TRUE)

Arguments

maaslin_fits

list of Maaslin2 result data frames, outputted from Maaslin2_wrapper.

method

meta-analysis model to run, options provided in metafor::rma.

output

directory for the output forest plots.

forest_plot

logical. should forest plots be generated for the significant associations.

rma_conv

rma threshold control.

rma_maxit

rma maximum iteration control.

verbose

should verbose information be printed.

Value

a data frame recording per-feature meta-analysis association results. (coefficients, p-values, etc.)


MMUPHin documentation built on April 9, 2021, 6:01 p.m.