Description Usage Arguments Value Examples
View source: R/posteriors_plot.R
This just returns a ‘ggplot2’ plot object that plots the read depth bins on the x-axis and the posterior mean m estimates (and credible intervals) on the y-axis, and depicts the number of genotypes in each read depth bin using color.
1 |
P |
the tibble that is the m_posteriors component of |
a ‘ggplot2’ plot object.
1 2 3 4 5 6 7 | # get something to plot (short run for example)
im <- infer_m(lobster_buz_2000, minBin = 1000, num_sweeps = 100, burn_in = 20)
# then plot it
g <- posteriors_plot(im$m_posteriors)
# now g is a 'ggplot2' object
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.