Description Usage Arguments Details Value See Also
Creates one plot per sample and replicate in a faceted display.
1 | plot_background_model(data, type = c("density", "ratio"))
|
data |
A |
type |
Type of plot, one of |
In density
mode, plots a histogram of sample1/(sample1 + sample2)
overlaid with the probability density function of a Beta distribution using the
parameters estimated by fit_background_model
.
In ratio
mode, plots a scatterplot of sample1/(sample1 + sample2)
over sample2
overlaid with points randomly drawn from a beta-binomial distribution using
the parameters estimated by fit_background_model
.
A ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.