% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/module3_replicate.R
\name{plot_cv_distribution}
\alias{plot_cv_distribution}
\title{Histogram of replicate CV values}
\usage{
plot_cv_distribution(cv, cv_max = 15, bins = 30)
}
\arguments{
\item{cv}{A data frame from \code{\link[=calc_replicate_cv]{calc_replicate_cv()}}.}

\item{cv_max}{Threshold to draw as a reference line. Default \code{15}.}

\item{bins}{Number of histogram bins. Default \code{30}.}
}
\value{
A \link[ggplot2:ggplot]{ggplot2::ggplot} object.
}
\description{
Shows the distribution of per-compound replicate CVs across the library, with
the acceptance threshold marked.
}
\examples{
norm <- norm_by_control(baseline_subtract(read_hts_plate(hts_primary_raw)))
plot_cv_distribution(calc_replicate_cv(norm))

}
\seealso{
\code{\link[=calc_replicate_cv]{calc_replicate_cv()}}, \code{\link[=filter_bad_replicate]{filter_bad_replicate()}}
}
