View source: R/WPPI_functions.R
| common_neighbors | R Documentation |
For each interacting pair of proteins in the PPI network, store the nodes of the common neighbors. This function works for any igraph graph.
common_neighbors(graph_op)
graph_op |
Igraph object based on OmniPath PPI interactions from
|
Data frame (tibble) with igraph vertex IDs of connected pairs of vertices (source and target), a list column with the IDs of their common neighbors, and a column with the number of neighbors.
graph_from_op
graph_op <- graph_from_op(wppi_omnipath_data())
genes_interest <-
c("ERCC8", "AKT3", "NOL3", "GFI1B", "CDC25A", "TPX2", "SHE")
graph_op_1 <- subgraph_op(graph_op, genes_interest, 1)
shared_neighbors <- common_neighbors(graph_op_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.