Drug target or pathway network visualization
plot_network(
x,
Drug,
node_color = c("lightblue", "orange", "red", "green"),
layout = "layout_nicely",
manipulation = FALSE,
...
)# S4 method for ScoreResultNet
plot_network(
x,
Drug,
node_color = c("lightblue", "orange", "red", "green"),
layout = "layout_nicely",
manipulation = FALSE,
node_type = "target",
background = "drug",
neighbor = FALSE
)
# S4 method for ScoreFP
plot_network(
x,
Drug,
node_type = "herb-compound-target",
node_color = c("lightblue", "orange", "red", "green"),
layout = "layout_nicely",
manipulation = FALSE,
highlight = NULL,
width = FALSE
)
# S4 method for ScoreResultFP
plot_network(
x,
Drug,
node_type = "herb-compound-target",
node_color = c("lightblue", "orange", "red", "green"),
layout = "layout_nicely",
manipulation = FALSE,
highlight = NULL,
width = FALSE
)
plot_network.ScoreResultNet(
x,
Drug,
node_color = c("lightblue", "orange", "red", "green"),
layout = "layout_nicely",
manipulation = FALSE,
node_type = "target",
background = "drug",
neighbor = FALSE
)
plot_network.ScoreFP(
x,
Drug,
node_type = "herb-compound-pathway",
node_color = c("lightblue", "orange", "red", "green"),
layout = "layout_nicely",
manipulation = FALSE,
highlight = NULL,
width = FALSE
)
ScoreFP or ScoreResultNet object
The name of drug.
The node color.
Character Name of network layout function to use. Default to "layout_nicely".
Whether to edit the network.
additional parameters
network type. one of "herb-target","herb-compound-target" and "target".
one of "drug" or "disease"
logical.
A character vector of gene.
A logical. The number of overlapping genes between the two pathways is used as the width of the edges.
visNetwork object