Create a group effect object to detect a shift in usage of features which are ordered within a group.
group_effect_shift(design, coef1, coef2, design_common = NULL) group_effect_shift_log2(design, coef1, coef2, design_common = NULL)
Column number of coefficient for first condition in design matrix.
Column number of coefficient for second condition in design matrix.
Experimental! Optional sample-level design matrix. For example, this can be used to account for a batch effect or matched samples.
A group effect object.
group_effect_shift_log2 is almost certainly the version you want.
The coefficients should represent the expression levels in two different conditions.