|
a |
|
b/man/p.adjust.table.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/1.calculate.R |
|
|
3 |
\name{p.adjust.table} |
|
|
4 |
\alias{p.adjust.table} |
|
|
5 |
\title{p.adjust apply on a correlation table (matrix or data.frame)} |
|
|
6 |
\usage{ |
|
|
7 |
p.adjust.table(pp, method = "BH", mode = "all") |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{pp}{table of p-values} |
|
|
11 |
|
|
|
12 |
\item{method}{see \code{\link[stats]{p.adjust}}, default: "BH".} |
|
|
13 |
|
|
|
14 |
\item{mode}{"all" for all values; "rows" adjust each row one by one; "columns" adjust each column one by one. Default: "all".} |
|
|
15 |
} |
|
|
16 |
\value{ |
|
|
17 |
a table of adjusted p-values |
|
|
18 |
} |
|
|
19 |
\description{ |
|
|
20 |
p.adjust apply on a correlation table (matrix or data.frame) |
|
|
21 |
} |
|
|
22 |
\examples{ |
|
|
23 |
matrix(abs(rnorm(100, 0.01, 0.1)), 10, 10) -> pp |
|
|
24 |
p.adjust.table(pp, method = "BH", mode = "all") -> pp_adj |
|
|
25 |
} |
|
|
26 |
\seealso{ |
|
|
27 |
Other calculate: |
|
|
28 |
\code{\link{c_net_calculate}()}, |
|
|
29 |
\code{\link{cal_sim}()}, |
|
|
30 |
\code{\link{fast_cor}()}, |
|
|
31 |
\code{\link{read_corr}()} |
|
|
32 |
} |
|
|
33 |
\concept{calculate} |