in_omnipath {wppi}R 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

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)


[Package wppi version 1.2.0 Index]