Quick build a metanet from two columns table
twocol_edgelist(edgelist)metanet
Other plot:
as.ggig(),
c_net_plot(),
input_cytoscape(),
input_gephi(),
netD3plot(),
olympic_rings_net(),
plot.ggig(),
venn_net()
twocol <- data.frame(
"col1" = sample(letters, 30, replace = TRUE),
"col2" = sample(c("A", "B"), 30, replace = TRUE)
)
twocol_net <- twocol_edgelist(twocol)
#> No 'from' and 'to' in the colnames(edgelist), use the first two columns as the 'from' and 'to'.
plot(twocol_net)
c_net_plot(twocol_net, g_layout_polygon(twocol_net))