Layout with group
igraph or metanet object
group name (default: module)
group_order
layout1 method, one of
(1) a dataframe or matrix: rowname is group, two columns are X and Y
(2) function: layout method for c_net_layout
default: in_circle()
big network layout size
one of functions: layout method for c_net_layout
, or a list of functions.
average sub_network layout size, or numeric vector, or "auto"
show the big layout to help you adjust.
add
coors
Other g_layout:
g_layout_nice()
,
g_layout_polygon()
# \donttest{
data("c_net")
module_detect(co_net, method = "cluster_fast_greedy") -> co_net_modu
g_layout(co_net_modu, group = "module", zoom1 = 30, zoom2 = "auto", layout2 = as_line()) -> oridata
plot(co_net_modu, coors = oridata)
# }