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)

## Arguments

design Design matrix. 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.

## Value

A group effect object.

## Details

group_effect_shift_log2 is almost certainly the version you want.

The coefficients should represent the expression levels in two different conditions.

effect_shift, effect_shift_log2