For large admixturegraph, there may be a large number of valid qpAdm models!
qpadm_models_old(graph, add_outgroup = FALSE, nested = TRUE, abbr = -1)
An admixture graph as igraph object
Should the graph outgroup be added to the qpAdm right populations? Technically this shouldn't be an informative outgroup for qpAdm.
Should a nested data frame be returned (TRUE
), or should populations be concatenated
into strings (FALSE
)?
Maximum number of characters to print for each population. The default (-1) doesn't abbreviate the names.
if (FALSE) {
qpadm_models_old(igraph2, add_outgroup = TRUE)
qpadm_models_old(igraph2, add_outgroup = TRUE) %>% slice(1) %$% list(target, left, right)
}