largestComp: Extract largest component of network

Description Usage Arguments Value Author(s) Examples

View source: R/Graph.R

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)

assaron/BioNet documentation built on Sept. 18, 2020, 12:02 a.m.