Transfer an igraph object to a ggig

as.ggig(go, coors = NULL)

Arguments

go

igraph or meatnet

coors

coordinates for nodes,columns: name, X, Y

Value

ggig object

Examples

as.ggig(co_net, coors = c_net_layout(co_net)) -> ggig
plot(ggig)
#> Warning: Removed 451 rows containing missing values or values outside the scale range
#> (`geom_text()`).

as.ggig(multi1, coors = c_net_layout(multi1)) -> ggig
plot(ggig, labels_num = 0.3)
#> Warning: Removed 96 rows containing missing values or values outside the scale range
#> (`geom_text()`).