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 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 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 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.
drug.
disease.
Whether to delect Isolated nodes.
one of "igraph", "visNetwork" and "shiny".
Nodes Color
Edges width
Nodes size
Arguments
Returns NULL, invisibly.