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. 1, 2018, 3:37 a.m.