fg.lcc | R Documentation |
Get the largest (weakly or strongly) connected component in a graph.
fg.get.lcc(graph, mode = c("weak", "strong"))
graph |
The FlashGraph object |
mode |
Character string, either "weak" or "strong". For directed graphs "weak" implies weakly, "strong" strongly c components to search. It is ignored for undirected graphs. |
For an undirected graph, this function returns the largest connected component and ignores the argument ‘mode’.
a FlashGraph object that contains the largest connected component in the graph.
Da Zheng <dzheng5@jhu.edu>