% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/module5_drc.R
\name{calc_drc_auc}
\alias{calc_drc_auc}
\title{Area under the dose-response curve}
\usage{
calc_drc_auc(drc)
}
\arguments{
\item{drc}{An \code{hts_drc} object from \code{\link[=fit_4pl_curve]{fit_4pl_curve()}}.}
}
\value{
The \code{hts_drc} object with an \code{auc} column added to its \code{meta}, also
returned invisibly as a data frame via \code{drc$meta}.
}
\description{
Computes the area under each fitted curve by trapezoidal integration of the
fitted 4PL over the tested concentration range (on the log10 scale), a
robust single-number summary of overall potency.
}
\examples{
drc <- fit_4pl_curve(import_dose_response(hts_dose_response,
  response_col = "viability", group_cols = "cell_line"),
  group_cols = "cell_line")
calc_drc_auc(drc)$meta

}
\seealso{
\code{\link[=compute_auc]{compute_auc()}}, \code{\link[=extract_drc_params]{extract_drc_params()}}
}
