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)

b2slab/FELLA documentation built on March 3, 2021, 2:22 p.m.