plot_graph | R Documentation |
Plot Disease-Drug Network
plot_graph( graph, drug, disease, Isolated = TRUE, vis = "visNetwork", color = c(drug = "#cca4e3", herb = "#ff461f", compound = "#ffc773", target = "#70f3ff"), width = 1, size = 20, ... ) ## S4 method for signature 'BasicData' plot_graph( graph, drug, disease, Isolated = TRUE, vis = "visNetwork", color = c(drug = "#cca4e3", herb = "#ff461f", compound = "#ffc773", target = "#70f3ff"), width = 1, size = 20, ... ) ## S4 method for signature 'igraph' plot_graph( graph, drug, disease, Isolated = TRUE, vis = "visNetwork", color = c(drug = "#cca4e3", herb = "#ff461f", compound = "#ffc773", target = "#70f3ff"), width = 1, size = 20, ... ) ## S4 method for signature 'HerbResult' plot_graph( graph, drug, disease, Isolated = TRUE, vis = "visNetwork", color = c(drug = "#cca4e3", herb = "#ff461f", compound = "#ffc773", target = "#70f3ff"), width = 1, size = 20, ... )
graph |
graph. |
drug |
drug. |
disease |
disease. |
Isolated |
Whether to delect Isolated nodes. |
vis |
one of "igraph", "visNetwork" and "shiny". |
color |
Nodes Color |
width |
Edges width |
size |
Nodes size |
... |
Arguments |
Returns NULL, invisibly.
Yuanlong Hu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.