# \donttest{
data("c_net")
module_detect(co_net, method = "cluster_fast_greedy") -> co_net_modu
if (requireNamespace("ggraph")) {
plot(co_net_modu, coors = g_layout_nice(co_net_modu, group = "module"))
plot(co_net_modu, coors = g_layout_nice(co_net_modu, group = "module", mode = "treemap"))
}
# }
Run the code above in your browser using DataLab