Description Usage Arguments Value
View source: R/plot_exposure_posteriors_bleed.R
Plot the signature exposure posterior distribution along with a visualization of signature bleed interactions.
1 2 3 4 5 6 7 8 9 | plot_exposure_posteriors_bleed(
exposures_mcmc_output,
view = "violin",
min_bleed = 0.2,
signature_trim = "Signature",
legend = TRUE,
plot_heights = c(1, 1),
units = "mutations"
)
|
exposures_mcmc_output |
Output from get_exposures. |
view |
Can be either "violin" or "boxplot" (default: "violin") |
min_bleed |
Bleed threshold, between 0 and 1. Default: 0.2. |
signature_trim |
Text to be trimmed off of the x-axis signature labels. |
legend |
Boolean - whether or not to include the legend. |
plot_heights |
Vector of 2 numbers denoting relative heights of exposure plot and bleed graph. |
units |
Units to present exposures in. Can be 'mutations', 'megabase', or 'fraction'. |
A cowplot merge of two ggplots showing the posterior distributions and signature bleed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.