Description Usage Arguments Value See Also

Returning the cost, an example edge solution of an optimal fit, and linear relations describing the set of all edge solutions. Operating with the full edge optimisation matrix, not the column reduced one.

1 2 | ```
edge_optimisation_function(data, concentration, matrix, graph,
parameters = extract_graph_parameters(graph), iteration_multiplier = 3)
``` |

`data` |
The data set. |

`concentration` |
The Cholesky decomposition of the inverted covariance matrix. |

`matrix` |
A full edge optimisation matrix (typically given by the
function |

`graph` |
The admixture graph. |

`parameters` |
In case one wants to tweak something in the graph. |

`iteration_multiplier` |
Given to |

Given an input vector of admix variables, returns a list containing
the minimal error (`cost`

), the graph-*f4* statistics
(`approximation`

), an example solution (`edge_fit`

), linear
relations describing all the solutions (`homogeneous`

) and one
way to choose the free (`free_edges`

) and bounded
(`bounded_edges`

) edge variables.

mailund/admixture_graph documentation built on April 3, 2018, 9:28 p.m.

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.