simplify_graph: Remove redundant edges

simplify_graphR Documentation

Remove redundant edges

Description

Nodes with in and out degree of one will be removed.

Usage

simplify_graph(graph)

Arguments

graph

an igraph object

Examples

simple = simplify_graph(example_igraph)
plot_graph(example_igraph)
plot_graph(simple)

uqrmaie1/admixtools documentation built on March 20, 2024, 8:24 a.m.