View source: R/print_interactions.R
print_path_vs | R Documentation |
Prints the interactions in the path in a nice format.
print_path_vs(nodes, G)
nodes |
An igraph node sequence object. |
G |
An igraph graph object (from ptms or interactions) |
Returns 'NULL'.
print_path_es
interactions <- omnipath(resources = "SignaLink3")
OPI_g <- interaction_graph(interactions = interactions)
print_path_vs(
igraph::all_shortest_paths(
OPI_g,
from = 'TYRO3',
to = 'STAT3'
)$vpath,
OPI_g
)
enzsub <- enzyme_substrate(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
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.