fold_change {structToolbox}R Documentation

fold change class

Description

Calculates fold change between groups for all features in a DatasetExperiment, based on a log transform and t-test.

Usage

fold_change(
  alpha = 0.05,
  factor_name,
  paired = FALSE,
  sample_name = character(0),
  threshold = 2,
  control_group = character(0),
  ...
)

Arguments

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

Value

struct object

Examples

D = MTBLS79_DatasetExperiment()
M = fold_change(factor_name='class')
M = model_apply(M,D)


[Package structToolbox version 1.0.1 Index]