Description Usage Arguments Value
View source: R/plot_exposure_posteriors.R
Visualizes the posterior distributions of the MCMC solution to signature exposures. By default, they are visualized as violin plots.
1 2 3 4 5 6 | plot_exposure_posteriors(
exposures_mcmc_output,
view = "violin",
signature_trim = "Signature",
units = "mutations"
)
|
exposures_mcmc_output |
Output from get_exposures. |
view |
Can be either "violin" or "boxplot". |
units |
Units to present exposures in. Can be 'mutations', 'megabase', or 'fraction'. |
A ggplot plot of the posterior distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.