removeLayer {mully} | R Documentation |
Delete a layer or a set of layers from a graph
Description
Delete a layer or a set of layers from a graph
Usage
removeLayer(g, name, trans = FALSE)
Arguments
g |
The input graph. |
name |
The name or the list of the names of the layers to be deleted. |
trans |
A boolean whether to insert transitive edges or not |
Value
The mully graph, with the given layer and its corresponding nodes and edges removed.
Examples
g = mully::demo()
removeLayer(g,"gene",trans=TRUE)
[Package mully version 2.1.38 Index]