daimTreat: Empirical Bayes Statistics For Differential Expression

Description Usage Arguments Details

View source: R/daimTreat.R

Description

Computes empirical Bayes moderated-t p-values relative to a minimum meaningful fold-change threshold.

Usage

1
2
daimTreat(fit, lfc = log2(1.2), trend = FALSE, robust = FALSE,
  winsor.tail.p = c(0.05, 0.1))

Arguments

fit

an MArrayLM fitted model object produced by lmFit or contrasts.fit. For ebayes only, fit can alternatively be an unclassed list produced by lm.series, gls.series or mrlm containing components coefficients, stdev.unscaled, sigma and df.residual.

lfc

the minimum log2-fold-change that is considered scientifically meaningful

trend

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

robust

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

winsor.tail.p

numeric vector of length 1 or 2, giving left and right tail proportions of x to Winsorize. Used only when robust=TRUE.

Details

This is an internal function adapted from the treat function in the limma package. It is used to test for a log2 fold change value (Dam-fusion/Dam) greater than the specified threshold.


jma1991/Daim documentation built on Oct. 4, 2020, 2:21 a.m.