wilcox_test {structToolbox}R Documentation

Wilcoxon signed rank test method class

Description

Calculates a signed rank test for all features in a DatasetExperiment. Used as a non-parametric ttest.

Usage

wilcox_test(
  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 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 = wilcox_test(factor_name='class')


[Package structToolbox version 1.0.1 Index]