ezebayes: Wrapper for limma's eBayes function that also allows for...

View source: R/ezebayes.R

ezebayesR Documentation

Wrapper for limma's eBayes function that also allows for computing OLS statistics

Description

Wrapper for limma's eBayes, which computes empirical Bayes statistics, that allows for using the rest of the limma workflow in ezlimma to compute ordinary least squares statistics.

Usage

ezebayes(fit, moderated = TRUE, trend = FALSE)

Arguments

fit

Object of class MArrayLM as produced by lmFit alone (without eBayes).

moderated

Logical; should eBayes be used? Otherwise an unmoderated version for limma to produce ordinary least squares statistics is used.

trend

Logical; should an intensity-trend be allowed for the prior variance? Default is that the prior variance is constant.

Details

trend is only applicable if moderated is TRUE.

Value

Object of limma MArrayLM-class.


jdreyf/ezlimma documentation built on April 28, 2024, 1:10 p.m.