fold_change {structToolbox} | R Documentation |
Calculates fold change between groups for all features in a DatasetExperiment, based on a log transform and t-test.
fold_change( alpha = 0.05, factor_name, paired = FALSE, sample_name = character(0), threshold = 2, control_group = character(0), ... )
alpha |
confidence level to use for intervals |
factor_name |
the sample_meta column to use |
paired |
TRUE or [FALSE] to account for paired samples |
sample_name |
the sample_meta column name to use for a paired samples |
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() M = fold_change(factor_name='class') M = model_apply(M,D)