Description Usage Arguments Value

This function is also used for estimating Q and F but faster than EM.

1 |

`g` |
Genotype matrix with dimensions |

`q` |
Ancestry coefficient matrix with dimensions |

`f` |
Minor allele frequency matrix with dimensions |

`acc` |
a logical value indicating whether use quasi-Newton accelerated BR or not. |

`max.iter` |
If acc = T, max.iter must be set, the default is 3. max.iter should greater than 1. |

`tol` |
Tolerance, if acc = F, tolerance must be set, the default is 1e-4. |

`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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.