Skip to contents

Analogous to strategy_lm but for limma's matrix-based pipeline. Returns a list consumed by build_model_limma.

Usage

strategy_limma(modelstr, model_name = "limma", trend = FALSE, robust = FALSE)

Arguments

modelstr

model formula as string (e.g. "abundance ~ group_")

model_name

name of model

trend

logical, passed to eBayes

robust

logical, passed to eBayes

Examples

strat <- strategy_limma("abundance ~ group_")
strat$formula
#> abundance ~ group_
#> <environment: 0x562ab64f3ee8>
strat$model_name
#> [1] "limma"