removeLayer | R Documentation |
Delete a layer or a set of layers from a graph
removeLayer(g, name, trans = FALSE)
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 |
The mully graph, with the given layer and its corresponding nodes and edges removed.
g = mully::demo() removeLayer(g,"gene",trans=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.