fit_ebayes: Fit ebayes model

View source: R/diff_expr.R

fit_ebayesR Documentation

Fit ebayes model

Description

Fit ebayes model

Usage

fit_ebayes(
  lm_fit,
  contrasts,
  robust = TRUE,
  trend = FALSE,
  allow.no.resid = FALSE
)

Arguments

lm_fit

Result of call to run_limma

contrasts

Character vector of contrasts to fit.

robust

logical, should the estimation of df.prior and var.prior be robustified against outlier sample variances?

trend

logical, should an intensity-dependent trend be allowed for the prior variance? If FALSE then the prior variance is constant. Alternatively, trend can be a row-wise numeric vector, which will be used as the covariate for the prior variance.

allow.no.resid

Allow no residual degrees of freedom? if TRUE and the fit contrast matrix has no residual degrees of freedom, eBayes fit is skipped and the result of contrasts.fit is returned.

Value

result of eBayes


alexvpickering/crossmeta documentation built on June 2, 2022, 7:06 a.m.