print_path_es: Prints network paths in an edge sequence

View source: R/print_interactions.R

print_path_esR Documentation

Description

Pretty prints the interactions in a path.

Usage

print_path_es(edges, G)

Arguments

edges

An igraph edge sequence object.

G

igraph object (from ptms or any interaction dataset)

Value

Returns 'NULL'.

See Also

  • print_path_vs

Examples

interactions <- omnipath(resources = "SignaLink3")
OPI_g <- interaction_graph(interactions = interactions)
print_path_es(
    suppressWarnings(igraph::shortest_paths(
        OPI_g,
        from = 'TYRO3',
        to = 'STAT3',
        output = 'epath'
    ))$epath[[1]],
    OPI_g
)


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.