applyGraphFilters: Filter out graph vertices and edges from graph object that...

Description Usage Arguments Value Note

View source: R/networkGraphs.R

Description

This function removes isolate vertices, multiple edges between vertices and or vertex edge loops from a graph.

Usage

1
applyGraphFilters(g, isolates = TRUE, multi_edge = TRUE, loops_edge = TRUE)

Arguments

g

igraph graph object.

isolates

Logical. Include isolate vertices in graph. Default is TRUE.

multi_edge

Logical. Include multiple edges between vertices in graph. Default is TRUE.

loops_edge

Logical. Include vertex edge loops in graph. Default is TRUE.

Value

An igraph graph object.

Note

Removing multiple edges or edge loops from a graph will simplify it and remove other edge attributes.


VOSONDash documentation built on July 27, 2020, 5:07 p.m.