fold_change_int {structToolbox} | R Documentation

## fold change for interactions class

### Description

Calculates fold change between groups for interactions between levels of factors. Note that paired forced to FALSE for all comparisons.

### Usage

    fold_change_int(
      alpha = 0.05,
      factor_name,
      threshold = 2,
      control_group = character(0),
      ...
    )

### Arguments

`alpha` | confidence level to use for intervals
`factor_name` | the sample_meta column to use
`threshold` | a threshold to define fold change as 'significant'.
`control_group` | a level of factor name to use as the control group for calculations.
`...` | additional slots and values passed to struct_class

### Value

struct object

### Examples

    D = MTBLS79_DatasetExperiment()
    D=D[,1:10,drop=FALSE]
    M = filter_smeta(mode='exclude',levels='QC',factor_name='class') +
        fold_change_int(factor_name=c('class','batch'))
    M = model_apply(M,D)

[Package structToolbox version 0.99.8 Index]