p.adjust.table {MetaNet}R 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

[Package MetaNet version 0.1.2 Index]