% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_hts.R
\name{convert_conc_log10}
\alias{convert_conc_log10}
\title{Convert concentrations to a log10 scale}
\usage{
convert_conc_log10(x, shift_min = FALSE)
}
\arguments{
\item{x}{Numeric vector of concentrations (factors/characters are coerced).}

\item{shift_min}{Logical; if \code{TRUE} the minimum finite \code{log10} value is
subtracted so that the series starts at zero (matching the pipeline's
\code{log10(conc) - min(log10(conc))} convention). Default \code{FALSE}.}
}
\value{
A numeric vector of \code{log10} concentrations.
}
\description{
Transforms a concentration vector to \code{log10}, the scale on which
dose-response curves are usually drawn and fitted. Non-positive values (for
example the zero-dose controls) become \code{NA}.
}
\examples{
convert_conc_log10(c(0.01, 0.1, 1, 10, 100))
convert_conc_log10(c(0.01, 0.1, 1, 10, 100), shift_min = TRUE)

}
