This is included for completeness and testing. limma_confects() and edger_confects() provide a faster version of this using limma's treat and edgeR's topTreat functions.

effect_contrast(contrast)

## Arguments

contrast |
A vector of the same length as the number of coefficients. The effect size is the dot product of this with the coefficients. |

## Value

An object defining how to calculate an effect size.