Description Usage Arguments Details Value
View source: R/get_populations.R
Inference of mutational subpopulations without joint inference of signatures
1 2 3 4 5 6 7 8 9 | get_populations(
mutation_table,
n_populations,
method = "mcmc",
n_chains = 4,
n_iter = 300,
n_adapt = 200,
n_cores = n_chains
)
|
mutation_table |
Table of mutations, same as input to
|
n_populations |
Number of populations to fit. |
method |
The method to use. Can be either "mcmc" for Hamiltonial Markov Chain Monte Carlo or "MAP" for maximum a posteriori estimate. |
n_chains |
Number of chains to use (only for |
n_iter |
Number of sampling iterations per chain (only for |
n_adapt |
Number of adaptation iterations per chain (only for |
n_cores |
Number of cores for parallel sampling (by default equal to |
This method can be used to obtain full posterior estimates of mutational subpopulations.
It is also used under the hood by select_n_populations
to perform automatic
estimation of the number of populations for model selection.
List object with Stan output, parsed data, and relevant metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.