printPath_vs {OmnipathR}R Documentation

print networks paths given by node sequence

Description

prints the interactions in the path in a nice format

Usage

printPath_vs(nodeSeq, G)

Arguments

nodeSeq

node sequence

G

igraph object (from ptms or interactions)

Value

Interactions displayed in a nice format

See Also

printPath_es

Examples

interactions = import_Omnipath_Interactions(filter_databases=c("SignaLink3"))
OPI_g = interaction_graph(interactions = interactions )
printPath_vs(shortest_paths(OPI_g,from = "TYRO3",to = "STAT3")$vpath,OPI_g)

ptms = import_Omnipath_PTMS(filter_databases=c("PhosphoSite", "Signor"))
ptms_g = ptms_graph(ptms)
printPath_vs(all_shortest_paths(ptms_g,from = "SRC",to = "STAT1")$res,ptms_g)

[Package OmnipathR version 1.0.1 Index]