Description Usage Arguments Value
View source: R/get_exposures.R
At the heart of SignIT is the MCMC sampling of signature exposure solutions. This function provides a convenient wrapper around the MCMC sampling steps. It constructs the STAN model, runs it, and then returns the result in a well formatted list.
1 2 3 4 5 6 7 8 9 10 11 | get_exposures(
mutation_catalog,
reference_signatures = NULL,
priors = NULL,
n_chains = 4,
n_iter = 200,
n_adapt = 200,
n_cores = 1,
stan_model = NULL,
quiet = FALSE
)
|
mutation_catalog |
Data frame with columns mutation_type, count. The mutation types must be equivalent to those in reference_signatures. |
reference_signatures |
Reference mutation signatures, such as that output from get_reference_signatures. |
n_chains |
Number of MCMC chains |
n_iter |
Number of iterations per chain. Total iterations will be n_chains times n_iter. |
n_adapt |
Number of burn-in iterations |
List containing the MCMC samples, as well as other data such as reference signatures and mutation catalog.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.