Description Usage Arguments Value See Also Examples

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")))
``` |

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.