This function trains the Dirichlet multinomial mixture models parameters for a set of profile matrices.
x can be a
The maximal number of components to test in the mixture model when alg is "C". Then an optimal number of components between 1 and K will be chosen based on the fitness of the model.
The fixed number of components to use when alg is "R". The default is 6.
The algorithm to use.
"C" uses the implementation from
When using the implementation from
the final number of components can be 1:K.
An internal selection will be made based on the maximum likelihood.
When using the implementation of R, the number of component is fixed to K.
A list of trainned alpha0, pmix and likelihood during the training.
signature(x = "ANY")
signature(x = "matrix")
signature(x = "PFMatrixList")
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.