giant_component: Giant component of a graph

giant_componentR Documentation

Giant component of a graph

Description

For an igraph graph object returns its giant component.

Usage

giant_component(graph)

Arguments

graph

An igraph graph object.

Value

An igraph graph object containing only the giant component.

Examples

interactions <- import_post_translational_interactions()
graph <- interaction_graph(interactions)
graph_gc <- giant_component(graph)


saezlab/OmnipathR documentation built on April 17, 2024, 9:39 p.m.