filter_annot_with_network {wppi}R Documentation

Filter ontology datasets using PPI network object

Description

Filter ontology datasets using PPI network object

Usage

filter_annot_with_network(data_annot, graph_op)

Arguments

data_annot

Data frame (tibble) of GO or HPO datasets from wppi_go_data or wppi_hpo_data.

graph_op

Igraph graph object obtained from built OmniPath PPI of genes of interest and x-degree neighbors.

Value

Data frame (tibble) of GO or HPO datasets filtered based on proteins available in the igraph object.

See Also

Examples

# 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)


[Package wppi version 1.2.0 Index]