Description Usage Arguments Details Author(s) See Also Examples
plot.PCSF
plots an interactive figure of the subnetwork obrained by
the PCSF method.
1 2 3 4 |
x |
A subnetwork obtained by the PCSF method. It is a "PCSF" object derived from igraph class and it has the edge cost and vertex prize attributes. |
style |
A |
edge_width |
A |
node_size |
A |
node_label_cex |
A |
Steiner_node_color |
A |
Terminal_node_color |
A |
... |
Ignored. |
This function plots an interactive subnetwork obtained by the PCSF
and PCSF_rand
.
The node sizes and edge widths are respectively proportional to the node prizes and edge costs
while plotting the subnetwork from PCSF
. In contrast, the node sizes and edge widths are
proportional to the total number of abondance in randomized runs while plotting the subnetwork
from PCSF_rand
. The node names are displayed during the hover-over.
Murodzhon Akhmedov
1 2 3 4 5 6 7 8 9 | ## Not run:
library("PCSF")
data("STRING")
data("Tgfb_phospho")
terminals <- Tgfb_phospho
ppi <- construct_interactome(STRING)
subnet <- PCSF(ppi, terminals, w = 2, b = 1, mu = 0.0005)
plot(subnet)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.