plot_exposure_posteriors: Plot the signature exposure posterior distributions

Description Usage Arguments Value

View source: R/plot_exposure_posteriors.R

Description

Visualizes the posterior distributions of the MCMC solution to signature exposures. By default, they are visualized as violin plots.

Usage

1
2
3
4
5
6
plot_exposure_posteriors(
  exposures_mcmc_output,
  view = "violin",
  signature_trim = "Signature",
  units = "mutations"
)

Arguments

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'.

Value

A ggplot plot of the posterior distributions.


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.