multittest: multittest

multittestR Documentation

multittest

Description

Calculate per-row t-test between grouped columns of a data.frame.

Usage

multittest(
  df,
  groups,
  ttest = TRUE,
  adjmethod = "bonferroni",
  controlGroup = NULL
)

Arguments

df

a data.frame with numeric (intensity) values

groups

named list of intensity columns listed by group (as supplied by $anagroupnames or $anagroupnames_norm of MseekFT objects)

ttest

if TRUE, ttest will be calculated

adjmethod

method to adjust p values (passed on to stats::p.adjust)

controlGroup

name of the control group in groups. If NULL, all groups will be compared against all samples outside the group.

Details

columns in the export data.frame. All columns are generated for each group defined in groups, where GX is replaced by the group name:

  • GX__CV Coefficient of variation (relative standard deviation (sd/mean)) within the group

  • GX__pval p value between this group and all samples in all other groups, as calculated by t.test()

  • GX__pval_adj p values, adjusted by the selected adjmethod using p.adjust()

Value

a data.frame with same number of rows as df, with coluns as described in details


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.