in_omnipath: Check which genes of interest are or not in OmniPath

View source: R/WPPI_functions.R

in_omnipathR Documentation

Check which genes of interest are or not in OmniPath

Description

Check which genes of interest are or not in OmniPath

Usage

in_omnipath(graph_op, gene_set, in_network = TRUE)

Arguments

graph_op

Igraph object based on OmniPath PPI interactions from graph_from_op.

gene_set

Character vector with known-disease specific genes from which is built the functional weighted PPI.

in_network

Logical: whether to return the genes in the network or the missing ones.

Value

Character vector with genes corresponding to the query.

See Also

  • wppi_omnipath_data

  • graph_from_op

Examples

# genes mapped and not mapped in OmniPath
graph_op <- graph_from_op(wppi_omnipath_data())
genes_interest <-
    c("ERCC8", "AKT3", "NOL3", "GFI1B", "CDC25A", "TPX2", "SHE")
genes_mapped <- in_omnipath(graph_op, genes_interest, 1)
genes_notmapped <- in_omnipath(graph_op, genes_interest, 0)


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