Learn R Programming

BioNet (version 1.26.1)

largestComp: Extract largest component of network

Description

The function extracts the largest component of a network.

Usage

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.

Examples

Run this code
library(DLBCL)
data(interactome)
interactome
largestComp(interactome)

Run the code above in your browser using DataLab