delete_all_attr: Delete all attributes of a graph

View source: R/set_brainGraph_attributes.R

delete_all_attrR Documentation

Delete all attributes of a graph

Description

Deletes all graph-, vertex-, and edge-level attributes of an igraph graph object.

Usage

delete_all_attr(g, keep.names = FALSE)

Arguments

g

An igraph graph object

keep.names

Logical indicating whether to keep the name vertex attribute (default: FALSE)

Value

An igraph graph object

Author(s)

Christopher G. Watson, cgwatson@bu.edu

See Also

delete_graph_attr, delete_vertex_attr, delete_edge_attr


cwatson/brainGraph documentation built on Feb. 21, 2024, 6:33 p.m.