print_path_vs {OmnipathR} | R Documentation

## print networks paths given by node sequence

### Description

Prints the interactions in the path in a nice format.

### Usage

    print_path_vs(nodeSeq, G)

    printPath_vs(...)

### Arguments

`nodeSeq` | node sequence
`G` | igraph object (from ptms or interactions)
`...` | Passed to `print_path_vs`.

### Value

Interactions displayed in a nice format

### See Also

`print_path_es`

### Examples

    interactions = import_omnipath_interactions(resources=c("SignaLink3"))
    OPI_g = interaction_graph(interactions = interactions )
    print_path_vs(
        all_shortest_paths(
            OPI_g,
            from = "TYRO3",
            to = "STAT3"
        )$vpath,
        OPI_g
    )
    ptms = import_omnipath_enzsub(resources=c("PhosphoSite", "SIGNOR"))
    ptms_g = ptms_graph(ptms)
    print_path_vs(
        all_shortest_paths(
            ptms_g,
            from = "SRC",
            to = "STAT1"
        )$res,
        ptms_g
    )

[Package OmnipathR version 2.0.0 Index]