--- a +++ b/man/p.adjust.table.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/1.calculate.R +\name{p.adjust.table} +\alias{p.adjust.table} +\title{p.adjust apply on a correlation table (matrix or data.frame)} +\usage{ +p.adjust.table(pp, method = "BH", mode = "all") +} +\arguments{ +\item{pp}{table of p-values} + +\item{method}{see \code{\link[stats]{p.adjust}}, default: "BH".} + +\item{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 +} +\description{ +p.adjust apply on a correlation table (matrix or data.frame) +} +\examples{ +matrix(abs(rnorm(100, 0.01, 0.1)), 10, 10) -> pp +p.adjust.table(pp, method = "BH", mode = "all") -> pp_adj +} +\seealso{ +Other calculate: +\code{\link{c_net_calculate}()}, +\code{\link{cal_sim}()}, +\code{\link{fast_cor}()}, +\code{\link{read_corr}()} +} +\concept{calculate}