powered by
Delete a layer or a set of layers from a graph
removeLayer(g, name, trans = FALSE)
The mully graph, with the given layer and its corresponding nodes and edges removed.
The input graph.
The name or the list of the names of the layers to be deleted.
A boolean whether to insert transitive edges or not
g = mully::demo() removeLayer(g,"gene",trans=TRUE)
Run the code above in your browser using DataLab