% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/module4_primary.R
\name{plot_sigma_hits}
\alias{plot_sigma_hits}
\title{Distribution plot of sigma-based hits}
\usage{
plot_sigma_hits(hits, bins = 30, show_normal = TRUE)
}
\arguments{
\item{hits}{A data frame from \code{\link[=select_sigma_hits]{select_sigma_hits()}}.}

\item{bins}{Number of histogram bins. Default \code{30}.}

\item{show_normal}{Overlay the fitted normal density curve. Default \code{TRUE}.}
}
\value{
A \link[ggplot2:ggplot]{ggplot2::ggplot} object.
}
\description{
Histogram of the per-compound activity with the library centre and the 1, 2
and 3 sigma cut-offs marked, bars coloured by how many sigma each compound
clears. Optionally overlays the fitted normal curve so the departure from
normality (the hit tail) stands out.
}
\examples{
norm <- norm_by_control(baseline_subtract(read_hts_plate(hts_primary_raw)))
plot_sigma_hits(select_sigma_hits(norm))

}
\seealso{
\code{\link[=select_sigma_hits]{select_sigma_hits()}}, \code{\link[=summarize_sigma_hits]{summarize_sigma_hits()}}
}
