PrepInit | R Documentation |
hdp_init
Initialize hdp object
Allocate process index for hdp initialization.
Prepare for hdp_init
PrepInit( multi.types, input.catalog, verbose = TRUE, K.guess, gamma.alpha = 1, gamma.beta = 1 )
multi.types |
A logical scalar or a character vector. If If If a character vector, then its length must be If not |
input.catalog |
Input spectra catalog as a matrix or
in |
verbose |
If |
K.guess |
Suggested initial value of the number of raw clusters. Usually, the number of raw clusters is roughly twice the number of extracted signatures. Passed to hdpx::dp_activate as argument initcc. |
gamma.alpha |
Shape parameter of the gamma distribution prior for the Dirichlet process concentration parameters α_0 and all α_j in Figure B.1 of
|
gamma.beta |
Inverse scale parameter (rate parameter) of the gamma distribution prior for the Dirichlet process concentration parameters: β_0 and all β_j in Figure B.1 of
We recommend gamma.alpha = 1 and gamma.beta = 20 for single-base-substitution signature extraction; gamma.alpha = 1 and gamma.beta = 50 for doublet-base-substitution and indel signature extraction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.