eight_leaves_trees: Eight leaves trees.

Description Usage Format See Also Examples

Description

Kind of obsolete since the introduction of all_graphs. A comprehensive listing of all the four unrooted trees with eight leaves. The position of the root can be moved later with the function make_an_outgroup.

Usage

1

Format

A list of functions on eight leaves. The outputs of these functions are agraph objects.

See Also

all_graphs

make_permutations

fit_permutations_and_graphs

fit_graph_list

add_a_leaf

add_an_admixture

add_an_admixture2

make_an_outgroup

Other graphs: five_leaves_graphs, four_leaves_graphs, seven_leaves_graphs, six_leaves_graphs

Examples

1
2
3
4
5
6
7
8
9
# While the usage of this function is pretty self-explanatory, let's plot all the graphs
# just for browsing.
for (i in seq(1, length(eight_leaves_trees))) {
  graph <- eight_leaves_trees[[i]](c("A", "B", "C", "D", "E", "F", "G", "H"))
  # This is how you include quotation marks in strings by the way:
  title <- paste("eight_leaves_trees[[", i,
                 "]](c(\"A\", \"B\", \"C\", \"D\", \"E\", \"F\", \"G\", \"H\"))", sep = "")
  plot(graph, color = "brown", title = title)
}

mailund/admixture_graph documentation built on May 21, 2019, 11:06 a.m.