p.adjust.gtxr: Adjust P-values for Multiple Test Procedures

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/refinedBoundaries.R

Description

Given a set of p-values, returns adjusted p-values, including the hybrid Hochberg<e2><80><93>Hommel procedure (Gou et al., 2014).

Usage

1
p.adjust.gtxr(p, method = "gtxr", n = length(p))

Arguments

p

vector of p-values.

method

multiplicity correction method, "gtxr" is the hybrid Hochberg<e2><80><93>Hommel method, other methods include: "gtxr", "holm", "hochberg", "hommel", "bonferroni", "BH", "BY","fdr", "none".

n

number of p-values.

Details

#

Given a set of p-values, returns p-values adjusted using one of several methods. The default method is "gtxr". Other adjustment methods have been included in function p.adjust in R package stats.

Value

a vector of corrected p-values.

Author(s)

Jiangtao Gou

References

Gou, J., Tamhane, A. C., Xi, D., and Rom. D. (2014). A class of improved hybrid Hochberg-Hommel type step-up multiple test procedures. Biometrika 101, 899-911.

See Also

p.adjust

Examples

1
2
 pvalues.raw <- c(0.002,0.007,0.005,0.024,0.022,0.009,0.007,0.036,0.060,0.035)
 p.adj <- p.adjust.gtxr(pvalues.raw, method = "gtxr")

gsrsb documentation built on May 29, 2017, 7:12 p.m.