View source: R/Annot_functions.R
filter_annot_with_network | R Documentation |
Filter ontology datasets using PPI network object
filter_annot_with_network(data_annot, graph_op)
data_annot |
Data frame (tibble) of GO or HPO datasets from
|
graph_op |
Igraph graph object obtained from built OmniPath PPI of genes of interest and x-degree neighbors. |
Data frame (tibble) of GO or HPO datasets filtered based on proteins available in the igraph object.
wppi_go_data
wppi_hpo_data
graph_from_op
# Get GO database GO_data <- wppi_go_data() # Create igraph object based on genes of interest and first neighbors genes_interest <- c("ERCC8", "AKT3", "NOL3", "GFI1B", "CDC25A", "TPX2", "SHE") graph_op <- graph_from_op(wppi_omnipath_data()) graph_op_1 <- subgraph_op(graph_op, genes_interest, 1) # Filter GO data GO_data_filtered <- filter_annot_with_network(GO_data, graph_op_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.