This is a fast, deterministic and stand-alone function for visualizing the
admixture graph. Has the bad habit if sometimes drawing several nodes at the
exact same coordinates; for clearer reasults try `plot.agraph`

(which, on the other hand, relies on numerical optimising of a compicated cost
function and might be unpredictable).

1 2 |

`x` |
The admixture graph. |

`ordered_leaves` |
The leaf-nodes in the left to right order they should be drawn. |

`show_admixture_labels` |
A flag determining if the plot should include the names of admixture proportions. |

`show_inner_node_labels` |
A flag determining if the plot should include the names of inner nodes. |

`...` |
Additional plotting options. |

A plot.

1 2 3 4 5 6 7 8 | ```
# taken from the collection of all the admixture graphs with four leaves and at
# most two admixture events:
fast_plot(four_leaves_graphs[[24]](c("A", "B", "C", "D")))
# To be fair, here is a graph that looks all right:
fast_plot(four_leaves_graphs[[25]](c("A", "B", "C", "D")))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.