Description Usage Arguments Details Value Methods Author(s) See Also Examples
This function trains the Dirichlet multinomial mixture models parameters for a set of profile matrices.
1 |
x |
x can be a |
K |
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. |
alg |
The algorithm to use.
"C" uses the implementation from |
When using the implementation from DirichletMultinomial
package,
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")
Ge Tan
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.