Description Usage Arguments Value See Also Examples
View source: R/print_interactions.R
Prints the interactions in the path in a nice format.
1 2 3 | print_path_vs(nodeSeq, G)
printPath_vs(...)
|
nodeSeq |
node sequence |
G |
igraph object (from ptms or interactions) |
... |
Passed to |
Interactions displayed in a nice format
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.