fg.subgraph | R Documentation |
Generate an induced subgraph that contains the specified vertices from the input given graph.
fg.fetch.subgraph(graph, vertices, name = paste(graph$name, "-sub", sep = ""), compress = TRUE)
graph |
The FlashGraph object |
vertices |
A numeric vector that contains the ids of vertices in the induced subgraph. |
name |
The name of the FlashGraph object. |
compress |
This indicates whether to remove empty vertices in the generated subgraph. |
‘fg.fetch.subgraph’ generates the induced subgraph and returns a FlashGraph object.
‘fg.fetch.subgraph’ returns a FlashGraph object
Da Zheng <dzheng5@jhu.edu>