delete_all_attr: Delete all attributes of a graph

Description Usage Arguments Value Author(s) See Also

View source: R/set_brainGraph_attributes.R

Description

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

Usage

1
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


brainGraph documentation built on Oct. 23, 2020, 6:37 p.m.