Description Usage Arguments Value
View source: R/sigfit_estimation.R
Use optimization to generate initial parameter values for MCMC sampling
1 2 3 4 5 6 7 8 9 10 | extract_signatures_initialiser(
counts,
nsignatures,
model = "multinomial",
opportunities = NULL,
sig_prior = NULL,
exp_prior = NULL,
chains = 1,
...
)
|
counts |
Numeric matrix of observed mutation counts, with one row per sample and one column per mutation type. |
nsignatures |
Integer or integer vector indicating the number(s) of signatures to extract. |
model |
Name of the model to sample from. Admits character values |
opportunities |
Numeric matrix of optional mutational opportunities, with one row per sample
and one column per mutation type. It also admits character values |
sig_prior |
Numeric matrix with one row per signature and one column per mutation type,
to be used as the Dirichlet priors for the mutational signatures. Only used when a single value
is provided for |
chains |
Integer indicating number of chains to be initialised (default is 1). |
... |
Additional arguments to be passed to |
List of initial values to be passed to extract_signatures
via the
init
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.