graph_from_op: Igraph object from OmniPath network

View source: R/WPPI_functions.R

graph_from_opR Documentation

Igraph object from OmniPath network

Description

Creation of igraph object from PPI OmniPath database with information regarding proteins and gene symbols.

Usage

graph_from_op(op_data)

Arguments

op_data

Data frame (tibble) of OmniPath PPI interactions from wppi_omnipath_data.

Value

Igraph PPI graph object with vertices defined by UniProt ID and Gene Symbol, and edges based on interactions, for all connections in OmniPath.

See Also

wppi_omnipath_data

Examples

graph_op <- graph_from_op(wppi_omnipath_data())
edges_op <- igraph::E(graph_op)
vertices_op <- igraph::V(graph_op)


AnaGalhoz37/wppi documentation built on Nov. 8, 2022, 7:47 a.m.