print_path_vs: Print networks paths given by node sequence

View source: R/print_interactions.R

print_path_vsR Documentation

Description

Prints the interactions in the path in a nice format.

Usage

print_path_vs(nodeSeq, G)

Arguments

nodeSeq

node sequence

G

igraph object (from ptms or interactions)

Value

Returns 'NULL'.

See Also

print_path_es

Examples

interactions <- import_omnipath_interactions(resources=c('SignaLink3'))
OPI_g <- interaction_graph(interactions = interactions)
print_path_vs(
    igraph::all_shortest_paths(
        OPI_g,
        from = 'TYRO3',
        to = 'STAT3'
    )$vpath,
    OPI_g
)
enzsub <- import_omnipath_enzsub(resources=c('PhosphoSite', 'SIGNOR'))
enzsub_g <- enzsub_graph(enzsub)
print_path_vs(
    igraph::all_shortest_paths(
        enzsub_g,
        from = 'SRC',
        to = 'STAT1'
    )$res,
    enzsub_g
)


saezlab/OmnipathR documentation built on May 3, 2024, 5:32 a.m.