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 Nov. 10, 2024, 11:02 p.m.