multTestAdjust {RNAither} | R Documentation

## Adjust p-values for multiple testing

### Description

Adjusts p-values for multiple testing.

### Usage

    multTestAdjust(pValVec, adjustMethod)

### Arguments

`pValVec` | a vector of p-values
`adjustMethod` | one of the following: `"holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none"`. For details type `?p.adjust`

### Value

Returns a vector of corrected p-values. Can be integrated into a dataframe with the function `incorporatepValVec`.

### See Also

`incorporatepValVec`, `Ttest`

### Examples

    data(pValVec1, package="RNAither")

    ##for details on the generation of pValVec1, see the example of the Ttest function linked above.

    newpvalvec <- multTestAdjust(pValVec1,"fdr")

[Package RNAither version 2.34.0 Index]