largestcc: Extract largest CC

Description Usage Arguments Value Examples

View source: R/buildGraphFromKEGGREST.R

Description

Function largestcc extracts the largest connected component of an igraph object

Usage

1
largestcc(graph)

Arguments

graph

Igraph object

Value

Connected igraph object

Examples

1
2
3
library(igraph)
g <- barabasi.game(10) + graph.empty(10)
FELLA:::largestcc(g)

FELLA documentation built on Nov. 8, 2020, 6:57 p.m.