Description Usage Arguments Value
This function could help you initialize Q and F matrix conveniently especially when you intend to use supervised learning.
1 |
g |
genotype matrix |
pop |
A data.frame. If you intend to do supervised learning, you must specify the ancestries of the reference individuals. |
alpha |
Parameter for dirichlet distribution. Vector of shape parameters, or matrix of shape parameters corresponding to the number of draw. |
K |
If you intend to do unsupervised learning, set the number of populations you will use. |
model |
Choose supervised or unsupervised learning. |
A list contains q and f matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.