p.adjust.table: p.adjust apply on a correlation table (matrix or data.frame)

p.adjust.tableR Documentation

p.adjust apply on a correlation table (matrix or data.frame)

Description

p.adjust apply on a correlation table (matrix or data.frame)

Usage

p.adjust.table(pp, method = "BH", mode = "all")

Arguments

pp

table of p-values

method

see p.adjust, default: "BH".

mode

"all" for all values; "rows" adjust each row one by one; "columns" adjust each column one by one. Default: "all".

Value

a table of adjusted p-values

See Also

Other calculate: c_net_calculate(), cal_sim(), fast_cor(), input_corr()

Examples

matrix(abs(rnorm(100, 0.01, 0.1)), 10, 10) -> pp
p.adjust.table(pp, method = "BH", mode = "all") -> pp_adj

MetaNet documentation built on May 29, 2024, 1:21 a.m.