Learn R Programming

SOUP (version 1.1)

FWEminP: FWE Adjustment Using Permutation

Description

FWE Adjustment Using Permutation and NPC

Usage

FWEminP(Pmat)

Arguments

Pmat
matrix of p-values where comparisons are on the columns

Value

numeric vector of corrected p.values

Details

Multiplicity correction controlling the Family-Wise Error using the permutation p-values and NonParametric Combination with minP as combining function.

References

Pesarin, F. and Salmaso, L. (2010) Permutation Tests for Complex Data. Wiley: United Kingdom

Finos, L. and Pesarin, F. and Salmaso, L. (2003) Test combinati per il controllo della molteplicit\`a mediante procedure di closed testing, Statistica Applicata, 15, 301--329.

See Also

p.adjust, p.adjust.methods

Examples

Run this code
set.seed(123)
P <- matrix(runif(1010), nrow = 101, ncol = 10,
  dimnames = list(c("p-obs", paste("p-*", 1L:100)), LETTERS[1L:10]))
P[1L, 1L:4] <- 1/100
FWEminP(P)

Run the code above in your browser using DataLab