graphlist_cleaner: Any graph containing a vertex with a name that is not a...

Description Usage Arguments Value

View source: R/tempnetwork-inputchecker.R

Description

Any graph containing a vertex with a name that is not a string, will be coerced into a string. Moreover, if "setDefaultGraphNames" is TRUE, any graph in the given graph-list containing a vertex without a name, will be replaced by a graph where the name of each vertex is a string corresponding to its index in the respective 'igraph'-object.

Usage

1
graphlist_cleaner(graphList, setDefaultGraphNames = TRUE)

Arguments

graphList

A named list of 'igraph'-objects.

setDefaultGraphNames

If TRUE, any graph in the given graph-list containing a vertex without a name, will be replaced by a graph where the name of each vertex is a string corresponding to its index in the respective 'igraph'-object. coerced into a string.

Value

A graph-list as described above.


KonstantinRK/tempnetwork documentation built on Dec. 23, 2019, 6:40 p.m.