-
Notifications
You must be signed in to change notification settings - Fork 0
Covariates and Paired Designs
With a design file containing more than one factor, the moderated t method can adjust for additional factors. The model per gene is
log₂ expression ~ group + covariate₁ + covariate₂ + …
and the test is on the group coefficient. Variance moderation uses the residual degrees of freedom of the adjusted model.
| Covariate type | Encoding |
|---|---|
| Categorical | Indicator columns |
| Numeric with more than two distinct values | Continuous slope |
| Numeric with two values | Indicator |
Covariate-adjusted results match limma lmFit with the corresponding design matrix and eBayes.
Supply the subject (or block) identifier as a categorical covariate. This fits the subject as a fixed-effect block, which is the standard analysis for paired samples.
benchsiDE refuses to fit, and states the reason, when:
- a covariate is completely confounded with the groups being compared,
- a covariate is constant within the contrast, or
- the adjusted model has no residual degrees of freedom.
voom and Welch t results are unadjusted. When a covariate is selected with these methods, the results carry an explicit warning.
Start
Data preparation
Statistics
- Differential expression
- Covariates and pairing
- Multiple contrasts
- Statistical power
- Gene-set testing
- Discovery screen
- Patterns and clustering
- Heatmaps
- Co-expression
Comparing datasets
Output
Background