% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/statistics.R
\name{bh_fdr}
\alias{bh_fdr}
\title{Benjamini-Hochberg FDR adjustment}
\usage{
bh_fdr(p_values)
}
\arguments{
\item{p_values}{Numeric vector of raw p-values in [0, 1].}
}
\value{
Numeric vector of adjusted p-values, same length as input.
}
\description{
Wraps `stats::p.adjust(p, method = "BH")`. Returns adjusted p-values in the
same order as the input. Empty input -> empty output.
}
\examples{
bh_fdr(c(0.001, 0.01, 0.05, 0.5))
}
