agraph is the format used by the admixturegraph packge. igraph is used by the admixtools package

count_zero_edges(edges, epsilon = 1e-06)

Arguments

edges

Edges data frame from fitted admixture graph

epsilon

Every edge with length

Value

The number of edges with length < epsilon

Examples

if (FALSE) {
fit = qpgraph(example_f2_blocks, example_igraph)
count_zero_edges(fit$edges)
}