Layout with group nicely

g_layout_nice(go, group = "module", mode = "circlepack", ...)

g_layout_circlepack(go, group = "module", ...)

g_layout_treemap(go, group = "module", ...)

g_layout_backbone(go, group = "module", ...)

g_layout_stress(go, group = "module", ...)

Arguments

go

igraph or metanet

group

group name (default: module)

mode

circlepack, treemap, backbone, stress

...

add

Value

coors

See also

Other g_layout: g_layout_polygon(), g_layout()

Examples

# \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"))
}
#> Loading required namespace: ggraph
# }