ttest {structToolbox}R Documentation

t-test model class

Description

t-test model class. Calculate t-test for all features in a DatasetExperiment.

Usage

ttest(
  alpha = 0.05,
  mtc = "fdr",
  factor_names,
  paired = FALSE,
  paired_factor = character(0),
  ...
)

Arguments

alpha

The p-value threshold. Default alpha = 0.05.

mtc

Multiple test correction method passed to p.adjust. Default mtc = 'fdr'.

factor_names

The sample_meta column name to use.

paired

TRUE or FALSE to use a paired t-test.

paired_factor

The name of the sample_meta column used to indicate which samples are from the same subject. Must be provided if paired = TRUE

...

additional slots and values passed to struct_class

Value

struct object

Examples

M = ttest(factor_name='class')


[Package structToolbox version 1.0.1 Index]