multTestAdjust: Adjust p-values for multiple testing

Description Usage Arguments Value See Also Examples

View source: R/stattest.R

Description

Adjusts p-values for multiple testing.

Usage

1
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

1
2
3
4
5
data(pValVec1, package="RNAither")

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

newpvalvec <- multTestAdjust(pValVec1,"fdr")

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.