fold_change_int {structToolbox} | R Documentation |
Calculates fold change between groups for interactions between levels of factors. Note that paired forced to FALSE for all comparisons.
fold_change_int( alpha = 0.05, factor_name, threshold = 2, control_group = character(0), ... )
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 |
struct object
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)