Zi-Pi calculate

Zi-Pi plot of vertexes

zp_analyse(go_m, mode = 2, use_origin = TRUE)

zp_plot(go, label = TRUE, mode = 1)

Arguments

go_m

igraph object after module_detect()

mode

plot style, 1~3

use_origin

use original_module, default:TRUE, if FALSE, use module

go

igraph object after zp_analyse()

label

show label or not

Value

igraph

a ggplot object

References

  1. Guimerà, R. & Amaral, L. Functional cartography of complex metabolic networks. (2005) doi:10.1038/nature03288.

Examples

data("c_net")
module_detect(co_net) -> co_net_modu
zp_analyse(co_net_modu) -> co_net_modu
zp_plot(co_net_modu)
#> Warning: ggrepel: 1 unlabeled data points (too many overlaps). Consider increasing max.overlaps

zp_plot(co_net_modu, mode = 3)