Description Usage Arguments Value Examples
Use quasi-Newton algorithm to accelerate EM or block relaxation.
1 |
g |
Genotype matrix with dimensions n × p, where n is sample size and p is the number of SNPs. |
q |
Ancestry coefficient matrix with dimensions n × K, where n is sample size and K is the number of populations. |
f |
Minor allele frequency matrix with dimensions K × p, where K is the number of populations and p is the number of SNPs. |
tol |
Tolerance, the default value is 1e-4. |
method |
Choose which algorithm you want to use. EM or BR. |
model |
Choose which model you want to use. Supervised learning or unsupervised learning. |
Estimation results of q, f and the loglikelihood value of each iteration.
1 | ## qn(g, q, f, tol = 1e-4, method = 'BR', model = 'supervised')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.