correctPval: Correct _p_ values

Description Usage Arguments Value See Also Examples

Description

Correct p values from one column of a net slot.

Usage

1
correctPval(obj, method.adj = "BH", pval= "pval")

Arguments

obj

a corObject with a net slot already defined.

method.adj

one of "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none".

pval

name of the column with the p values to correct.

Value

a corObject in which a column named adj.pval, which contains the corrected p values, has been added to the net slot.

See Also

combinePval, p.adjust , addNet

Examples

1
2
3
data(data.obj)
data.obj <- correctPval (data.obj, method.adj="BH", pval="pval")
head(data.obj@net)

mariavica/mircomb documentation built on Feb. 3, 2020, 2:28 a.m.