Extract largest component of network

Share:

Description

The function extracts the largest component of a network.

Usage

1
largestComp(network)

Arguments

network

A graph in graphNEL or igraph format.

Value

A new graph object that represents the largest component of the given network.

Author(s)

Marcus Dittrich

Examples

1
2
3
4
library(DLBCL)
data(interactome)
interactome
largestComp(interactome)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.